UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

480 lines (479 loc) 11.9 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IStableTokenV2DeprecatedInit__factory = void 0; var ethers_1 = require("ethers"); var _abi = [ { type: "function", name: "allowance", inputs: [ { name: "owner", type: "address", internalType: "address", }, { name: "spender", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "approve", inputs: [ { name: "spender", type: "address", internalType: "address", }, { name: "amount", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "balanceOf", inputs: [ { name: "account", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "broker", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "nonpayable", }, { type: "function", name: "burn", inputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "creditGasFees", inputs: [ { name: "from", type: "address", internalType: "address", }, { name: "feeRecipient", type: "address", internalType: "address", }, { name: "gatewayFeeRecipient", type: "address", internalType: "address", }, { name: "communityFund", type: "address", internalType: "address", }, { name: "refund", type: "uint256", internalType: "uint256", }, { name: "tipTxFee", type: "uint256", internalType: "uint256", }, { name: "gatewayFee", type: "uint256", internalType: "uint256", }, { name: "baseTxFee", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "debitGasFees", inputs: [ { name: "from", type: "address", internalType: "address", }, { name: "value", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "exchange", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "nonpayable", }, { type: "function", name: "initialize", inputs: [ { name: "_name", type: "string", internalType: "string", }, { name: "_symbol", type: "string", internalType: "string", }, { name: "", type: "uint8", internalType: "uint8", }, { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, { name: "", type: "uint256", internalType: "uint256", }, { name: "initialBalanceAddresses", type: "address[]", internalType: "address[]", }, { name: "initialBalanceValues", type: "uint256[]", internalType: "uint256[]", }, { name: "", type: "string", internalType: "string", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "initialize", inputs: [ { name: "_name", type: "string", internalType: "string", }, { name: "_symbol", type: "string", internalType: "string", }, { name: "initialBalanceAddresses", type: "address[]", internalType: "address[]", }, { name: "initialBalanceValues", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "initializeV2", inputs: [ { name: "_broker", type: "address", internalType: "address", }, { name: "_validators", type: "address", internalType: "address", }, { name: "_exchange", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "mint", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "permit", inputs: [ { name: "owner", type: "address", internalType: "address", }, { name: "spender", type: "address", internalType: "address", }, { name: "value", type: "uint256", internalType: "uint256", }, { name: "deadline", type: "uint256", internalType: "uint256", }, { name: "v", type: "uint8", internalType: "uint8", }, { name: "r", type: "bytes32", internalType: "bytes32", }, { name: "s", type: "bytes32", internalType: "bytes32", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "totalSupply", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "transfer", inputs: [ { name: "recipient", type: "address", internalType: "address", }, { name: "amount", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "transferFrom", inputs: [ { name: "sender", type: "address", internalType: "address", }, { name: "recipient", type: "address", internalType: "address", }, { name: "amount", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "transferWithComment", inputs: [ { name: "to", type: "address", internalType: "address", }, { name: "value", type: "uint256", internalType: "uint256", }, { name: "comment", type: "string", internalType: "string", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "validators", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "nonpayable", }, ]; var IStableTokenV2DeprecatedInit__factory = /** @class */ (function () { function IStableTokenV2DeprecatedInit__factory() { } IStableTokenV2DeprecatedInit__factory.createInterface = function () { return new ethers_1.utils.Interface(_abi); }; IStableTokenV2DeprecatedInit__factory.connect = function (address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); }; IStableTokenV2DeprecatedInit__factory.abi = _abi; return IStableTokenV2DeprecatedInit__factory; }()); exports.IStableTokenV2DeprecatedInit__factory = IStableTokenV2DeprecatedInit__factory;