contract update

This commit is contained in:
EmberSpirit
2023-10-23 22:00:09 +02:00
parent 32db2d291c
commit fcf6133a47
5 changed files with 146 additions and 110 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"contractName": "Bloodline", "contractName": "Bloodline",
"contractAddress": "0x51bF3df58D123e8EA43fb2189f18027FD36a08Af", "contractAddress": "0xfB97A4a863d75F72E6d3DCef4a47413E811c9D2E",
"abi": [ "abi": [
{ {
"inputs": [ "inputs": [
+97 -1
View File
@@ -1,6 +1,6 @@
{ {
"contractName": "LiquidityOwner", "contractName": "LiquidityOwner",
"contractAddress": "0xF8bc4Ce13263DD4e12070e3192be50310eF7C95a", "contractAddress": "0x0f18b2D23278E1f1d92cc2cE10a75604bDBE9Ad1",
"abi": [ "abi": [
{ {
"inputs": [ "inputs": [
@@ -132,6 +132,35 @@
"stateMutability": "pure", "stateMutability": "pure",
"type": "function" "type": "function"
}, },
{
"inputs": [
{
"internalType": "int24",
"name": "tick",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickLower",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickUpper",
"type": "int24"
}
],
"name": "_liquidityCanBeProvided",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{ {
"inputs": [ "inputs": [
{ {
@@ -169,6 +198,54 @@
"stateMutability": "view", "stateMutability": "view",
"type": "function" "type": "function"
}, },
{
"inputs": [
{
"internalType": "int24",
"name": "tickCycle",
"type": "int24"
}
],
"name": "calculateTicksForRange1",
"outputs": [
{
"internalType": "int24",
"name": "tickLower",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickUpper",
"type": "int24"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "int24",
"name": "tickCycle",
"type": "int24"
}
],
"name": "calculateTicksForRange2",
"outputs": [
{
"internalType": "int24",
"name": "tickLower",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickUpper",
"type": "int24"
}
],
"stateMutability": "pure",
"type": "function"
},
{ {
"inputs": [ "inputs": [
{ {
@@ -211,6 +288,25 @@
"stateMutability": "view", "stateMutability": "view",
"type": "function" "type": "function"
}, },
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "cycleTicks",
"outputs": [
{
"internalType": "int24",
"name": "",
"type": "int24"
}
],
"stateMutability": "view",
"type": "function"
},
{ {
"inputs": [], "inputs": [],
"name": "memeAltar", "name": "memeAltar",
+46 -106
View File
@@ -1,6 +1,6 @@
{ {
"contractName": "MemeAltar", "contractName": "MemeAltar",
"contractAddress": "0xE4F42F3f8B0E57b1054D457fe3b49a1A10B1aCEa", "contractAddress": "0x5368264F18DD0e09ea074a79F3F8B504e2363d84",
"abi": [ "abi": [
{ {
"inputs": [ "inputs": [
@@ -53,6 +53,11 @@
"name": "CycleCompletedRegistrationFailed", "name": "CycleCompletedRegistrationFailed",
"type": "error" "type": "error"
}, },
{
"inputs": [],
"name": "GoalCannotBeZero",
"type": "error"
},
{ {
"inputs": [], "inputs": [],
"name": "InsufficientOutputAmount", "name": "InsufficientOutputAmount",
@@ -215,42 +220,16 @@
"anonymous": false, "anonymous": false,
"inputs": [ "inputs": [
{ {
"components": [ "indexed": true,
{ "internalType": "uint64",
"internalType": "uint40", "name": "b",
"name": "b1", "type": "uint64"
"type": "uint40" },
}, {
{ "indexed": true,
"internalType": "uint40", "internalType": "uint64",
"name": "m1", "name": "m",
"type": "uint40" "type": "uint64"
},
{
"internalType": "uint40",
"name": "b2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "b3",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m4",
"type": "uint40"
}
],
"indexed": false,
"internalType": "struct MemeAltar.BM",
"name": "_bm",
"type": "tuple"
} }
], ],
"name": "NewBM", "name": "NewBM",
@@ -309,41 +288,14 @@
{ {
"inputs": [ "inputs": [
{ {
"components": [ "internalType": "uint64",
{ "name": "newB",
"internalType": "uint40", "type": "uint64"
"name": "b1", },
"type": "uint40" {
}, "internalType": "uint64",
{ "name": "newM",
"internalType": "uint40", "type": "uint64"
"name": "m1",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "b2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "b3",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m4",
"type": "uint40"
}
],
"internalType": "struct MemeAltar.BM",
"name": "newBM",
"type": "tuple"
} }
], ],
"name": "adjustBM", "name": "adjustBM",
@@ -410,12 +362,12 @@
}, },
{ {
"inputs": [], "inputs": [],
"name": "bloodline", "name": "b",
"outputs": [ "outputs": [
{ {
"internalType": "contract Bloodline", "internalType": "uint64",
"name": "", "name": "",
"type": "address" "type": "uint64"
} }
], ],
"stateMutability": "view", "stateMutability": "view",
@@ -423,37 +375,12 @@
}, },
{ {
"inputs": [], "inputs": [],
"name": "bm", "name": "bloodline",
"outputs": [ "outputs": [
{ {
"internalType": "uint40", "internalType": "contract Bloodline",
"name": "b1", "name": "",
"type": "uint40" "type": "address"
},
{
"internalType": "uint40",
"name": "m1",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "b2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m2",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "b3",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "m4",
"type": "uint40"
} }
], ],
"stateMutability": "view", "stateMutability": "view",
@@ -662,9 +589,9 @@
"name": "issuancePrice", "name": "issuancePrice",
"outputs": [ "outputs": [
{ {
"internalType": "uint256", "internalType": "uint128",
"name": "", "name": "",
"type": "uint256" "type": "uint128"
} }
], ],
"stateMutability": "view", "stateMutability": "view",
@@ -683,6 +610,19 @@
"stateMutability": "view", "stateMutability": "view",
"type": "function" "type": "function"
}, },
{
"inputs": [],
"name": "m",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{ {
"inputs": [ "inputs": [
{ {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"contractName": "RewardLocker", "contractName": "RewardLocker",
"contractAddress": "0x2952253374973DE0ffbFe35269Ca13FaF28B935F", "contractAddress": "0x3342B37A0c06FEf2c3dD9481e31CCCF970e7235B",
"abi": [ "abi": [
{ {
"inputs": [ "inputs": [
File diff suppressed because one or more lines are too long