UNPKG

jton-contracts

Version:
25 lines (24 loc) 788 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GiverV2Info = void 0; const __1 = require("../"); const jton_1 = require("jton"); class GiverV2Info extends jton_1.Info { /** * 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 */ _getContract(keys, timeout) { return new __1.GiverV2(this._client, keys, timeout); } } exports.GiverV2Info = GiverV2Info;