diff --git a/src/contracts/METokenBase.tsx b/src/contracts/METokenBase.tsx index 24f68c5e..52f65418 100644 --- a/src/contracts/METokenBase.tsx +++ b/src/contracts/METokenBase.tsx @@ -1,4 +1,4 @@ -export const METEAST_BASE_TOKEN_CONTRACT_ADDRESS = '0xA2027C4032AA1062442D1a0b4Ae48FDF277fD5fa'; +export const METEAST_BASE_TOKEN_CONTRACT_ADDRESS = '0x22A991dd3421deD6139CA32464C08b8d334cD56c'; export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ { inputs: [], @@ -51,8 +51,15 @@ export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ }, { anonymous: false, - inputs: [], - name: 'Pause', + inputs: [ + { + indexed: false, + internalType: 'address', + name: 'account', + type: 'address', + }, + ], + name: 'Paused', type: 'event', }, { @@ -82,8 +89,15 @@ export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ }, { anonymous: false, - inputs: [], - name: 'Unpause', + inputs: [ + { + indexed: false, + internalType: 'address', + name: 'account', + type: 'address', + }, + ], + name: 'Unpaused', type: 'event', }, { @@ -328,7 +342,7 @@ export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ inputs: [ { internalType: 'address', - name: 'to', + name: 'recipient', type: 'address', }, { @@ -352,12 +366,12 @@ export const METEAST_BASE_TOKEN_CONTRACT_ABI = [ inputs: [ { internalType: 'address', - name: 'from', + name: 'sender', type: 'address', }, { internalType: 'address', - name: 'to', + name: 'recipient', type: 'address', }, { diff --git a/src/contracts/METokenMiningReward.tsx b/src/contracts/METokenMiningReward.tsx index 060e5122..5998a97d 100644 --- a/src/contracts/METokenMiningReward.tsx +++ b/src/contracts/METokenMiningReward.tsx @@ -1,4 +1,4 @@ -export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ADDRESS = '0x3B2F405C2BFE0B9A1364148f21fEa50e28C310E5'; +export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ADDRESS = '0x9277f45FF70B1484d462c574d6454dD67092f43d'; export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ABI = [ { inputs: [ @@ -174,6 +174,82 @@ export const METEAST_MINING_REWARD_TOKEN_CONTRACT_ABI = [ 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: [ { diff --git a/src/contracts/METokenStaking.tsx b/src/contracts/METokenStaking.tsx index 70668bc6..faf94d67 100644 --- a/src/contracts/METokenStaking.tsx +++ b/src/contracts/METokenStaking.tsx @@ -1,4 +1,4 @@ -export const METEAST_STAKING_TOKEN_CONTRACT_ADDRESS = '0x6E142e7Af08089510303C9464360b93f108175Ea'; +export const METEAST_STAKING_TOKEN_CONTRACT_ADDRESS = '0x171bCA4E078f5EA44Bd4Ea5e8e07c5154726bd48'; export const METEAST_STAKING_TOKEN_CONTRACT_ABI = [ { inputs: [ diff --git a/src/contracts/METokenVesting.tsx b/src/contracts/METokenVesting.tsx index d1d7b69c..43ed457c 100644 --- a/src/contracts/METokenVesting.tsx +++ b/src/contracts/METokenVesting.tsx @@ -1,4 +1,4 @@ -export const METEAST_VESTING_TOKEN_CONTRACT_ADDRESS = '0x8F998086823DE4023b27d8b5a748d7E467FF8fe2'; +export const METEAST_VESTING_TOKEN_CONTRACT_ADDRESS = '0x4F6bf04FFA734864A80981e4bf4e2e1275093a1D'; export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ { inputs: [ @@ -30,6 +30,19 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ name: 'OwnershipTransferred', type: 'event', }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address', + name: 'account', + type: 'address', + }, + ], + name: 'Paused', + type: 'event', + }, { anonymous: false, inputs: [], @@ -43,26 +56,21 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ type: 'event', }, { - stateMutability: 'payable', - type: 'fallback', - }, - { + anonymous: false, inputs: [ { - internalType: 'string', - name: 'beneficiaryString', - type: 'string', - }, - { - internalType: 'uint256', - name: 'amount', - type: 'uint256', + indexed: false, + internalType: 'address', + name: 'account', + type: 'address', }, ], - name: 'createVestingSchedule', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', + name: 'Unpaused', + type: 'event', + }, + { + stateMutability: 'payable', + type: 'fallback', }, { inputs: [ @@ -213,6 +221,36 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ 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: [], @@ -232,6 +270,26 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ 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: 'releaseDao', @@ -317,13 +375,6 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ stateMutability: 'nonpayable', type: 'function', }, - { - inputs: [], - name: 'revoke', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, { inputs: [ { @@ -375,6 +426,13 @@ export const METEAST_VESTING_TOKEN_CONTRACT_ABI = [ stateMutability: 'nonpayable', type: 'function', }, + { + inputs: [], + name: 'unpause', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, { inputs: [ {