mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated smartcontract code
updated lite-client and configuration smartcontract updated tonlib code
This commit is contained in:
parent
8e5bd938aa
commit
bce33f588a
46 changed files with 677 additions and 299 deletions
|
@ -27,6 +27,7 @@ liteServer.error code:int message:string = liteServer.Error;
|
|||
liteServer.accountId workchain:int id:int256 = liteServer.AccountId;
|
||||
|
||||
liteServer.masterchainInfo last:tonNode.blockIdExt state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfo;
|
||||
liteServer.masterchainInfoExt mode:# version:int capabilities:long last:tonNode.blockIdExt last_utime:int now:int state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfoExt;
|
||||
liteServer.currentTime now:int = liteServer.CurrentTime;
|
||||
liteServer.version mode:# version:int capabilities:long now:int = liteServer.Version;
|
||||
liteServer.blockData id:tonNode.blockIdExt data:bytes = liteServer.BlockData;
|
||||
|
@ -53,6 +54,7 @@ liteServer.debug.verbosity value:int = liteServer.debug.Verbosity;
|
|||
---functions---
|
||||
|
||||
liteServer.getMasterchainInfo = liteServer.MasterchainInfo;
|
||||
liteServer.getMasterchainInfoExt mode:# = liteServer.MasterchainInfoExt;
|
||||
liteServer.getTime = liteServer.CurrentTime;
|
||||
liteServer.getVersion = liteServer.Version;
|
||||
liteServer.getBlock id:tonNode.blockIdExt = liteServer.BlockData;
|
||||
|
|
Binary file not shown.
|
@ -24,6 +24,8 @@ exportedKey word_list:vector<secureString> = ExportedKey;
|
|||
exportedPemKey pem:secureString = ExportedPemKey;
|
||||
exportedEncryptedKey data:secureBytes = ExportedEncryptedKey;
|
||||
|
||||
bip39Hints words:vector<string> = Bip39Hints;
|
||||
|
||||
accountAddress account_address:string = AccountAddress;
|
||||
|
||||
internal.transactionId lt:int64 hash:bytes = internal.TransactionId;
|
||||
|
@ -56,7 +58,7 @@ close = Ok;
|
|||
|
||||
options.setConfig config:string = Ok;
|
||||
|
||||
createNewKey local_password:secureBytes mnemonic_password:secureBytes = Key;
|
||||
createNewKey local_password:secureBytes mnemonic_password:secureBytes random_extra_seed:secureBytes = Key;
|
||||
deleteKey public_key:bytes = Ok;
|
||||
exportKey input_key:inputKey = ExportedKey;
|
||||
exportPemKey input_key:inputKey key_password:secureBytes = ExportedPemKey;
|
||||
|
@ -66,6 +68,8 @@ importPemKey local_password:secureBytes key_password:secureBytes exported_key:ex
|
|||
importEncryptedKey local_password:secureBytes key_password:secureBytes exported_encrypted_key:exportedEncryptedKey = Key;
|
||||
changeLocalPassword input_key:inputKey new_local_password:secureBytes = Key;
|
||||
|
||||
getBip39Hints prefix:string = Bip39Hints;
|
||||
|
||||
//raw.init initial_account_state:raw.initialAccountState = Ok;
|
||||
raw.getAccountAddress initital_account_state:raw.initialAccountState = AccountAddress;
|
||||
raw.getAccountState account_address:accountAddress = raw.AccountState;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue