update new contracts

This commit is contained in:
EmberSpirit
2023-09-12 21:59:01 +02:00
parent 44173a36e1
commit a0aafaddf0
25 changed files with 1644 additions and 249 deletions
+82 -82
View File
@@ -1,6 +1,6 @@
{
"contractName": "RewardLocker",
"contractAddress": "0x7C3D5a19878d550D0c6c2b0BFC884ef410F6e440",
"contractAddress": "0xc180014777BC1E0720dDD4CA5952c1Cd277f7afE",
"abi": [
{
"inputs": [
@@ -15,12 +15,7 @@
},
{
"inputs": [],
"name": "MemeAltarAlreadyInitialized",
"type": "error"
},
{
"inputs": [],
"name": "MemeTokenAlreadyInitialized",
"name": "AlreadyInitialized",
"type": "error"
},
{
@@ -201,6 +196,19 @@
"name": "UnstakeOrdered",
"type": "event"
},
{
"inputs": [],
"name": "bloodline",
"outputs": [
{
"internalType": "contract Bloodline",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
@@ -268,6 +276,40 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "uint256",
"name": "roundNumber",
"type": "uint256"
},
{
"internalType": "address",
"name": "sacrificedToken",
"type": "address"
}
],
"name": "getRewards",
"outputs": [
{
"internalType": "uint256",
"name": "stakeReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sacrificeReward",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
@@ -311,35 +353,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "roundNumber",
"type": "uint256"
},
{
"internalType": "address",
"name": "sacrificedToken",
"type": "address"
}
],
"name": "getSacrificedTokenTotalRewards",
"outputs": [
{
"internalType": "uint256",
"name": "totalDefaultRewardsForToken",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalRewardsForToken",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
@@ -357,7 +370,36 @@
"outputs": [
{
"internalType": "uint256",
"name": "totalRewardsAmount",
"name": "totalSacrificeRewards",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalStakeRewards",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "roundNumber",
"type": "uint256"
},
{
"internalType": "address",
"name": "sacrificedToken",
"type": "address"
}
],
"name": "getTotalSacrificeRewardsForToken",
"outputs": [
{
"internalType": "uint256",
"name": "totalSacrificeRewardsForToken",
"type": "uint256"
}
],
@@ -373,7 +415,7 @@
},
{
"internalType": "address",
"name": "_memeToken",
"name": "_bloodline",
"type": "address"
}
],
@@ -408,19 +450,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "memeToken",
"outputs": [
{
"internalType": "contract MemeToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "orderUnstake",
@@ -540,35 +569,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "rewards",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
@@ -586,12 +586,12 @@
},
{
"internalType": "uint256",
"name": "totalDefaultRewards",
"name": "totalSacrificeCompetitionRewards",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalRewards",
"name": "totalStakeRewards",
"type": "uint256"
}
],