From 1f9c5fa09f467d8a85a85e8eb65aac379fe65c04 Mon Sep 17 00:00:00 2001 From: lifayi Date: Sun, 15 May 2022 16:31:44 +0800 Subject: [PATCH] change contracts address --- src/contracts/METokenBase.tsx | 2 +- src/contracts/METokenMiningReward.tsx | 1126 ++++++++++++++----------- src/contracts/METokenStaking.tsx | 2 +- src/contracts/METokenVesting.tsx | 823 +++++++++--------- 4 files changed, 1051 insertions(+), 902 deletions(-) diff --git a/src/contracts/METokenBase.tsx b/src/contracts/METokenBase.tsx index 4cec07fc..50d47869 100644 --- a/src/contracts/METokenBase.tsx +++ b/src/contracts/METokenBase.tsx @@ -1,4 +1,4 @@ -export const METEAST_BASE_TOKEN_CONTRACT_ADDRESS = '0x0e7985994Ab1a2e9FA22EB098De073D1C340145D'; +export const METEAST_BASE_TOKEN_CONTRACT_ADDRESS = '0x312bbfa55b6a4175424e8C4a2ca4Ee94623aF422'; export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ { inputs: [], diff --git a/src/contracts/METokenMiningReward.tsx b/src/contracts/METokenMiningReward.tsx index 369e97f2..4e56e9d7 100644 --- a/src/contracts/METokenMiningReward.tsx +++ b/src/contracts/METokenMiningReward.tsx @@ -1,505 +1,625 @@ -export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ADDRESS = '0xf558Ad936c96f6C93594De935fcBFaB3D973E500'; +export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ADDRESS = '0xdc8c230e8Ddda0603b81e98b274cf601124301e8'; export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ABI = [ { - inputs: [ - { - internalType: 'address', - name: 'token_', - type: 'address', - }, - { - internalType: 'address', - name: 'vesting_', - type: 'address', - }, - { - internalType: 'address', - name: 'staking_', - type: 'address', - }, - ], - stateMutability: 'nonpayable', - type: 'constructor', - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: 'address', - name: 'previousOwner', - type: 'address', - }, - { - indexed: true, - internalType: 'address', - name: 'newOwner', - type: 'address', - }, - ], - name: 'OwnershipTransferred', - type: 'event', - }, - { - inputs: [ - { - internalType: 'address', - name: 'buyer', - type: 'address', - }, - { - internalType: 'address', - name: 'seller', - type: 'address', - }, - { - internalType: 'address', - name: 'creator', - type: 'address', - }, - { - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'timestamp', - type: 'uint256', - }, - ], - name: 'distributeRewards', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getAvailableReward', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getAvailableRewardAsBuyer', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getAvailableRewardAsCreator', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getAvailableRewardAsStaker', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'uint256', - name: 'day', - type: 'uint256', - }, - ], - name: 'getDailyTotalTxAmount', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getReceivedReward', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getReceivedRewardAsBuyer', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getReceivedRewardAsCreator', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getReceivedRewardAsStaker', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [], - name: 'getStartTime', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getTotalReward', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getTotalRewardAsBuyer', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getTotalRewardAsCreator', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'getTotalRewardAsStaker', - 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: 'account', - type: 'address', - }, - { - internalType: 'uint256', - name: 'day', - type: 'uint256', - }, - ], - name: 'rewardOf', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - { - internalType: 'uint256', - name: 'day', - type: 'uint256', - }, - ], - name: 'rewardOfAsBuyer', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - { - internalType: 'uint256', - name: 'day', - type: 'uint256', - }, - ], - name: 'rewardOfAsCreator', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'account', - type: 'address', - }, - { - internalType: 'uint256', - name: 'day', - type: 'uint256', - }, - ], - name: 'rewardOfAsStaker', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'marketplace_', - type: 'address', - }, - ], - name: 'setMarketplace', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'newOwner', - type: 'address', - }, - ], - name: 'transferOwnership', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [], - name: 'withdrawBuyerReward', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [], - name: 'withdrawCreatorReward', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [], - name: 'withdrawStakerReward', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, -]; + "inputs": [ + { + "internalType": "address", + "name": "token_", + "type": "address" + }, + { + "internalType": "address", + "name": "vesting_", + "type": "address" + }, + { + "internalType": "address", + "name": "staking_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "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": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Paused", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Unpaused", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "internalType": "address", + "name": "creator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "distributeRewards", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "emergencyWithdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getAvailableReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getAvailableRewardAsBuyer", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getAvailableRewardAsCreator", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getAvailableRewardAsStaker", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "getDailyTotalTxAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMiningConfig", + "outputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "vesting", + "type": "address" + }, + { + "internalType": "address", + "name": "staking", + "type": "address" + }, + { + "internalType": "address", + "name": "marketplace", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getReceivedReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getReceivedRewardAsBuyer", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getReceivedRewardAsCreator", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getReceivedRewardAsStaker", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTokenBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getTotalReward", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getTotalRewardAsBuyer", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getTotalRewardAsCreator", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getTotalRewardAsStaker", + "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": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "rewardOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "rewardOfAsBuyer", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "rewardOfAsCreator", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "rewardOfAsStaker", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "marketplace_", + "type": "address" + } + ], + "name": "setMarketplace", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "staking_", + "type": "address" + } + ], + "name": "setStaking", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "withdrawBuyerReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "withdrawCreatorReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "withdrawStakerReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ] diff --git a/src/contracts/METokenStaking.tsx b/src/contracts/METokenStaking.tsx index bf58753c..bc3f011c 100644 --- a/src/contracts/METokenStaking.tsx +++ b/src/contracts/METokenStaking.tsx @@ -1,4 +1,4 @@ -export const METEAST_STAKING_TOKEN_CONTRACT_ADDRESS = '0xFd829a78c219fdB6596F961f1EfD5910c21B77f6'; +export const METEAST_STAKING_TOKEN_CONTRACT_ADDRESS = '0xb8b09D769c1b48bda8BBd7B005979193996Ddc7e'; export const METEAST_STAKING_TOKEN_CONTRACT_ABI = [ { inputs: [ diff --git a/src/contracts/METokenVesting.tsx b/src/contracts/METokenVesting.tsx index 21e8b416..3c090df2 100644 --- a/src/contracts/METokenVesting.tsx +++ b/src/contracts/METokenVesting.tsx @@ -1,452 +1,481 @@ -export const METEAST_VESTING_TOKEN_CONTRACT_ADDRESS = '0x30D801D4a1Da5e3BC53dE75FECfF8B01D19bC649'; +export const METEAST_VESTING_TOKEN_CONTRACT_ADDRESS = '0x894BaF81B01ce999Af74E34730643350cE843A7b'; export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ { - inputs: [ - { - internalType: 'address', - name: 'token_', - type: 'address', - }, - ], - stateMutability: 'nonpayable', - type: 'constructor', + "inputs": [ + { + "internalType": "address", + "name": "token_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" }, { - 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": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" }, { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'Paused', - type: 'event', + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Paused", + "type": "event" }, { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: 'beneficiaryAddress', - type: 'address', - }, - { - indexed: false, - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, - ], - name: 'Released', - type: 'event', + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "beneficiaryAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Released", + "type": "event" }, { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: 'account', - type: 'address', - }, - ], - name: 'Unpaused', - type: 'event', + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Unpaused", + "type": "event" }, { - inputs: [ - { - internalType: 'uint256', - name: 'currentTime', - type: 'uint256', - }, - ], - name: 'getDailyReleasableAmountForMiningPool', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "uint256", + "name": "currentTime", + "type": "uint256" + } + ], + "name": "getDailyReleasableAmountForMiningPool", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [ - { - internalType: 'string', - name: 'beneficiaryString', - type: 'string', - }, - ], - name: 'getReleasableAmount', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "string", + "name": "beneficiaryString", + "type": "string" + } + ], + "name": "getReleasableAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "_releasable", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'getStartTime', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "string", + "name": "beneficiaryString", + "type": "string" + } + ], + "name": "getReleaseInfo", + "outputs": [ + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "releasable", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "released", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'getToken', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [], + "name": "getStartTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [ - { - internalType: 'string', - name: 'beneficiaryString', - type: 'string', - }, - { - internalType: 'uint256', - name: 'scheduleId', - type: 'uint256', - }, - ], - name: 'getVestingSchedule', - outputs: [ - { - components: [ - { - internalType: 'uint256', - name: 'totalAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'startTime', - type: 'uint256', - }, - { - internalType: 'address', - name: 'beneficiary', - type: 'address', - }, - { - internalType: 'uint256', - name: 'duration', - type: 'uint256', - }, - ], - internalType: 'struct VestingSchedule', - name: '', - type: 'tuple', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [], + "name": "getToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [ - { - internalType: 'string', - name: 'beneficiaryString', - type: 'string', - }, - ], - name: 'getVestingSchedulesCount', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "string", + "name": "beneficiaryString", + "type": "string" + }, + { + "internalType": "uint256", + "name": "scheduleId", + "type": "uint256" + } + ], + "name": "getVestingSchedule", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "totalAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "duration", + "type": "uint256" + } + ], + "internalType": "struct VestingSchedule", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'getWithdrawableAmount', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "string", + "name": "beneficiaryString", + "type": "string" + } + ], + "name": "getVestingSchedulesCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [ - { - internalType: 'uint256', - name: 'startTime_', - type: 'uint256', - }, - { - internalType: 'address', - name: 'miningPoolAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'marketerAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'daoAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'foundationAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'ecoAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'teamAddr_', - type: 'address', - }, - ], - name: 'initialize', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "getWithdrawableAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'owner', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [ + { + "internalType": "uint256", + "name": "startTime_", + "type": "uint256" + }, + { + "internalType": "address", + "name": "miningPoolAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "marketerAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "daoAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "foundationAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "ecoAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "teamAddr_", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'pause', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'paused', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'view', - type: 'function', + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'releaseDao', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "paused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - inputs: [], - name: 'releaseEco', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseDao", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'releaseFoundation', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseEco", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'releaseMarketer', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseFoundation", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'releaseMiningPool', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseMarketer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'releaseTeam', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool', - }, - ], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseMiningPool", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'renounceOwnership', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "releaseTeam", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [ - { - internalType: 'address', - name: 'miningPoolAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'marketerAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'daoAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'foundationAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'ecoAddr_', - type: 'address', - }, - { - internalType: 'address', - name: 'teamAddr_', - type: 'address', - }, - ], - name: 'setBeneficiaryAddress', - outputs: [], - stateMutability: 'nonpayable', - 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": "miningPoolAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "marketerAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "daoAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "foundationAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "ecoAddr_", + "type": "address" + }, + { + "internalType": "address", + "name": "teamAddr_", + "type": "address" + } + ], + "name": "setBeneficiaryAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [], - name: 'unpause', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - inputs: [ - { - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, - ], - name: 'withdraw', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, -]; + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ]