jton-contracts
Version:
Free TON contracts wrapped in jTON
73 lines • 2.52 kB
TypeScript
import { KeyPair } from '@tonclient/core/dist/modules';
import { Call, CallConfig, Contract, StringMap } from 'jton';
import { SetcodeMultisigWallet } from '../';
export declare enum PARAMETERS {
DEST = "dest",
VALUE = "value",
BOUNCE = "bounce",
FLAGS = "flags",
PATH_TO_ABI = "pathToAbiFile",
METHOD = "method",
PARAMETERS = "parameters"
}
export declare class SetcodeMultisigWalletCall extends Call {
/**
* @param config
* Example:
* {
* net: {
* url: 'http://localhost',
* timeout: 30_000
* },
* locale: 'EN',
* keys: `${__dirname}/../library/keys/GiverV2.se.keys.json`
* }
*/
constructor(config: CallConfig);
/**
* Creates and returns contract.
* @param keys
* Example:
* {
* public: '0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff',
* secret: '0x0000000011111111222222223333333344444444555555556666666677777777'
* }
* @param timeout Time in milliseconds. How much time need wait a collection from graphql.
* Examples:
* 3000
* 5000
*/
protected _getContract(keys: KeyPair, timeout?: number): Contract;
/**
* Create and return target contract object.
* @param map
* Example:
* {
* address: '0:0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff'
* }
* @param timeout Time in milliseconds. How much time need wait a collection from graphql.
* Examples:
* 3000
* 5000
*/
protected _getTargetContract(map: StringMap, timeout?: number): Contract;
/**
* Call the public method with an external message.
* @param contract A contract on which we call the public method with an external message.
* @param keys
* Example:
* {
* public: '0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff',
* secret: '0x0000000011111111222222223333333344444444555555556666666677777777'
* }
* @param map
* Example:
* {
* address: '0:0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff ',
* value: '1_000_000_000',
* bounce: 'false'
* }
*/
protected _call(contract: SetcodeMultisigWallet, map: StringMap, keys: KeyPair): Promise<void>;
}
//# sourceMappingURL=SetcodeMultisigWalletCall.d.ts.map