Skip to content

Commit

Permalink
Merge pull request #878 from makerdao/update-testnet-sdk
Browse files Browse the repository at this point in the history
Generate new network sdk
  • Loading branch information
tyler17 authored Apr 26, 2024
2 parents 26d7311 + cbb84c6 commit 1e66681
Show file tree
Hide file tree
Showing 27 changed files with 8,465 additions and 1,068 deletions.
131 changes: 131 additions & 0 deletions modules/contracts/abis/arbitrumSepolia/polling.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
[
{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "creator", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "blockCreated", "type": "uint256" },
{ "indexed": true, "internalType": "uint256", "name": "pollId", "type": "uint256" },
{ "indexed": false, "internalType": "uint256", "name": "startDate", "type": "uint256" },
{ "indexed": false, "internalType": "uint256", "name": "endDate", "type": "uint256" },
{ "indexed": false, "internalType": "string", "name": "multiHash", "type": "string" },
{ "indexed": false, "internalType": "string", "name": "url", "type": "string" }
],
"name": "PollCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "creator", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "blockWithdrawn", "type": "uint256" },
{ "indexed": false, "internalType": "uint256", "name": "pollId", "type": "uint256" }
],
"name": "PollWithdrawn",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "voter", "type": "address" },
{ "indexed": true, "internalType": "uint256", "name": "pollId", "type": "uint256" },
{ "indexed": true, "internalType": "uint256", "name": "optionId", "type": "uint256" }
],
"name": "Voted",
"type": "event"
},
{
"inputs": [],
"name": "DOMAIN_SEPARATOR",
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "VOTE_TYPEHASH",
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "chainId",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "startDate", "type": "uint256" },
{ "internalType": "uint256", "name": "endDate", "type": "uint256" },
{ "internalType": "string", "name": "multiHash", "type": "string" },
{ "internalType": "string", "name": "url", "type": "string" }
],
"name": "createPoll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
"name": "nonces",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "npoll",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "voter", "type": "address" },
{ "internalType": "uint256", "name": "nonce", "type": "uint256" },
{ "internalType": "uint256", "name": "expiry", "type": "uint256" },
{ "internalType": "uint256[]", "name": "pollIds", "type": "uint256[]" },
{ "internalType": "uint256[]", "name": "optionIds", "type": "uint256[]" },
{ "internalType": "uint8", "name": "v", "type": "uint8" },
{ "internalType": "bytes32", "name": "r", "type": "bytes32" },
{ "internalType": "bytes32", "name": "s", "type": "bytes32" }
],
"name": "vote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256[]", "name": "pollIds", "type": "uint256[]" },
{ "internalType": "uint256[]", "name": "optionIds", "type": "uint256[]" }
],
"name": "vote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "uint256", "name": "pollId", "type": "uint256" }],
"name": "withdrawPoll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading

0 comments on commit 1e66681

Please sign in to comment.