UNPKG

@collabland/staking-contracts

Version:
635 lines (634 loc) 12.1 kB
[ { "inputs": [ { "internalType": "address", "name": "_idolMintAddress", "type": "address" }, { "internalType": "address", "name": "_idolMainAddress", "type": "address" }, { "internalType": "address", "name": "_virtueTokenAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_value", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "_fromAddress", "type": "address" } ], "name": "GodBidEntered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_value", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "_fromAddress", "type": "address" } ], "name": "GodBidWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_value", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "_fromAddress", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_toAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "cumulativeETH", "type": "uint256" } ], "name": "GodBought", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_minValue", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "_toAddress", "type": "address" } ], "name": "GodListed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "_godId", "type": "uint256" } ], "name": "GodUnlisted", "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" }, { "inputs": [], "name": "ROYALTY_BPS", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "internalType": "uint256", "name": "_minPrice", "type": "uint256" } ], "name": "acceptBidForGod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardContractAddress", "type": "address" } ], "name": "addExtraReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" } ], "name": "buyGod", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "claimEthRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "claimExtraRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "clearExtraRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "cumulativeETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_virtueTokenAmt", "type": "uint256" } ], "name": "decreaseVirtueStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "distributeRewards", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" } ], "name": "enterBidForGod", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "extraRewards", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "extraRewardsLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "getPendingETHGain", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalVirtueStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "getUserVirtueStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "godBids", "outputs": [ { "internalType": "address", "name": "bidder", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "godListings", "outputs": [ { "internalType": "address", "name": "seller", "type": "address" }, { "internalType": "uint256", "name": "minValue", "type": "uint256" }, { "internalType": "address", "name": "onlySellTo", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "idolMain", "outputs": [ { "internalType": "contract IdolMain", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_virtueTokenAmt", "type": "uint256" } ], "name": "increaseVirtueStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "mintContractAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "pendingWithdrawals", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "internalType": "uint256", "name": "_salePriceInWei", "type": "uint256" } ], "name": "postGodListing", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" }, { "internalType": "uint256", "name": "_salePriceInWei", "type": "uint256" }, { "internalType": "address", "name": "_toAddress", "type": "address" } ], "name": "postGodListingForAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" } ], "name": "removeGodListing", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_virtueTokenAddr", "type": "address" } ], "name": "setVirtueTokenAddr", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "virtueToken", "outputs": [ { "internalType": "contract VirtueToken", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_godId", "type": "uint256" } ], "name": "withdrawBidForGod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "withdrawPendingFunds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]