UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

266 lines 6.26 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.AddressStorageStakesSorted__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_addr", type: "address", }, ], name: "AddressAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_addr", type: "address", }, ], name: "AddressRemoved", type: "event", }, { 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: "_addr", type: "address", }, { indexed: false, internalType: "uint256", name: "_stake", type: "uint256", }, ], name: "StakeUpdated", type: "event", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "addrStake", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "linkedList", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "listSize", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], 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: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, { internalType: "uint256", name: "_stake", type: "uint256", }, ], name: "addAddr", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, { internalType: "uint256", name: "_stake", type: "uint256", }, ], name: "updateStake", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "removeLast", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, ], name: "contains", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getAddresses", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, ]; class AddressStorageStakesSorted__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.AddressStorageStakesSorted__factory = AddressStorageStakesSorted__factory; AddressStorageStakesSorted__factory.abi = _abi; //# sourceMappingURL=AddressStorageStakesSorted__factory.js.map