UNPKG

@stratosphere-network/token

Version:

Token module for StratoSphere SDK - ERC20 token minting and factory functionality

250 lines 5.87 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TokenFactoryAbi = void 0; exports.TokenFactoryAbi = [ { inputs: [ { internalType: "uint256", name: "initialFee", type: "uint256", }, { internalType: "address", name: "_tokenImplementation", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "OwnableInvalidOwner", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "OwnableUnauthorizedAccount", type: "error", }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "tokenAddress", type: "address", }, { indexed: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "string", name: "symbol", type: "string", }, { indexed: false, internalType: "uint256", name: "initialSupply", type: "uint256", }, { indexed: true, internalType: "address", name: "owner", type: "address", }, ], name: "TokenCreated", type: "event", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "symbol", type: "string", }, { internalType: "uint256", name: "initialSupply", type: "uint256", }, { internalType: "uint8", name: "decimals", type: "uint8", }, ], name: "createToken", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "payable", type: "function", }, { inputs: [], name: "getAllTokens", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getFee", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "creator", type: "address", }, ], name: "getTokensByCreator", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "newFee", type: "uint256", }, ], name: "setFee", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "tokenImplementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "withdrawFees", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=tokenFactory.js.map