Skip to content

Commit

Permalink
Update contracts' abi
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Oct 30, 2023
1 parent 0f352c4 commit 80cfd9c
Show file tree
Hide file tree
Showing 4 changed files with 378 additions and 95 deletions.
83 changes: 83 additions & 0 deletions abi/bscvalidatorset.abi
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAX_SYSTEM_REWARD_BALANCE",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PRECISION",
Expand Down Expand Up @@ -978,6 +991,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "currentVoteAddrFullSet",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1248,6 +1280,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "voteAddr",
"type": "bytes"
}
],
"name": "isMonitoredForMaliciousVote",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1371,6 +1422,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "previousBalanceOfSystemReward",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "previousHeight",
Expand All @@ -1384,6 +1448,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "previousVoteAddrFullSet",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalInComing",
Expand Down
169 changes: 149 additions & 20 deletions abi/relayerhub.abi
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_addedManager",
"type": "address"
}
],
"name": "managerAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_removedManager",
"type": "address"
}
],
"name": "managerRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -28,7 +54,7 @@
"type": "address"
}
],
"name": "relayerRegister",
"name": "relayerAddedProvisionally",
"type": "event"
},
{
Expand All @@ -44,6 +70,25 @@
"name": "relayerUnRegister",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_to",
"type": "address"
}
],
"name": "relayerUpdated",
"type": "event"
},
{
"inputs": [],
"name": "BIND_CHANNELID",
Expand Down Expand Up @@ -332,38 +377,64 @@
},
{
"inputs": [],
"name": "alreadyInit",
"name": "WHITELIST_1",
"outputs": [
{
"internalType": "bool",
"internalType": "address",
"name": "",
"type": "bool"
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bscChainID",
"name": "WHITELIST_2",
"outputs": [
{
"internalType": "uint16",
"internalType": "address",
"name": "",
"type": "uint16"
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "manager",
"type": "address"
}
],
"name": "acceptBeingRelayer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "dues",
"name": "alreadyInit",
"outputs": [
{
"internalType": "uint256",
"internalType": "bool",
"name": "",
"type": "uint256"
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bscChainID",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
Expand All @@ -380,11 +451,11 @@
"inputs": [
{
"internalType": "address",
"name": "sender",
"name": "managerAddress",
"type": "address"
}
],
"name": "isRelayer",
"name": "isManager",
"outputs": [
{
"internalType": "bool",
Expand All @@ -396,25 +467,50 @@
"type": "function"
},
{
"inputs": [],
"name": "register",
"outputs": [],
"stateMutability": "payable",
"inputs": [
{
"internalType": "address",
"name": "relayerAddress",
"type": "address"
}
],
"name": "isProvisionalRelayer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "requiredDeposit",
"inputs": [
{
"internalType": "address",
"name": "relayerAddress",
"type": "address"
}
],
"name": "isRelayer",
"outputs": [
{
"internalType": "uint256",
"internalType": "bool",
"name": "",
"type": "uint256"
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "removeManagerByHimself",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "unregister",
Expand All @@ -439,5 +535,38 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "relayerToBeAdded",
"type": "address"
}
],
"name": "updateRelayer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "whitelistInit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "whitelistInitDone",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit 80cfd9c

Please sign in to comment.