met-contractjs
Version:
Web3 contracts for met
603 lines • 10.6 kB
JSON
[
{
"name": "setTokenPorter",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_tokenPorter",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": false,
"anonymous": false
},
{
"name": "setProposalContract",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_proposals",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": false,
"anonymous": false
},
{
"name": "getValidatorsCount",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "changeOwnership",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_newOwner",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": false,
"anonymous": false
},
{
"name": "validators",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "uint256",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "removeValidator",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_validator",
"type": "address",
"indexed": false
}
],
"outputs": [],
"constant": false,
"anonymous": false
},
{
"name": "threshold",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "tokenPorter",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "hashClaimed",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "bytes32",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "addValidator",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_validator",
"type": "address",
"indexed": false
}
],
"outputs": [],
"constant": false,
"anonymous": false
},
{
"name": "proposals",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "hashRefutation",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "bytes32",
"indexed": false
},
{
"name": "",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "acceptOwnership",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": false,
"anonymous": false
},
{
"name": "auctions",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "owner",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "attestHash",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_burnHash",
"type": "bytes32",
"indexed": false
},
{
"name": "_originChain",
"type": "bytes8",
"indexed": false
},
{
"name": "_recipientAddr",
"type": "address",
"indexed": false
},
{
"name": "_amount",
"type": "uint256",
"indexed": false
},
{
"name": "_fee",
"type": "uint256",
"indexed": false
},
{
"name": "_proof",
"type": "bytes32[]",
"indexed": false
},
{
"name": "_extraData",
"type": "bytes",
"indexed": false
},
{
"name": "_globalSupplyInOtherChains",
"type": "uint256",
"indexed": false
}
],
"outputs": [],
"constant": false,
"anonymous": false
},
{
"name": "initValidator",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_tokenAddr",
"type": "address",
"indexed": false
},
{
"name": "_auctionsAddr",
"type": "address",
"indexed": false
},
{
"name": "_tokenPorterAddr",
"type": "address",
"indexed": false
}
],
"outputs": [],
"constant": false,
"anonymous": false
},
{
"name": "hashAttestations",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "bytes32",
"indexed": false
},
{
"name": "",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "newOwner",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "attestationCount",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "bytes32",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "updateThreshold",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_threshold",
"type": "uint256",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": false,
"anonymous": false
},
{
"name": "refuteHash",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_burnHash",
"type": "bytes32",
"indexed": false
},
{
"name": "_recipientAddr",
"type": "address",
"indexed": false
}
],
"outputs": [],
"constant": false,
"anonymous": false
},
{
"name": "isNewThresholdValid",
"type": "function",
"payable": false,
"inputs": [
{
"name": "_valCount",
"type": "uint256",
"indexed": false
},
{
"name": "_threshold",
"type": "uint256",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "isValidator",
"type": "function",
"payable": false,
"inputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"outputs": [
{
"name": "",
"type": "bool",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "token",
"type": "function",
"payable": false,
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"indexed": false
}
],
"constant": true,
"anonymous": false
},
{
"name": "LogAttestation",
"type": "event",
"payable": false,
"inputs": [
{
"name": "hash",
"type": "bytes32",
"indexed": true
},
{
"name": "recipientAddr",
"type": "address",
"indexed": true
},
{
"name": "isValid",
"type": "bool",
"indexed": false
}
],
"outputs": null,
"constant": false,
"anonymous": false
},
{
"name": "LogValidatorAdded",
"type": "event",
"payable": false,
"inputs": [
{
"name": "validator",
"type": "address",
"indexed": true
},
{
"name": "caller",
"type": "address",
"indexed": true
},
{
"name": "threshold",
"type": "uint256",
"indexed": false
}
],
"outputs": null,
"constant": false,
"anonymous": false
},
{
"name": "LogValidatorRemoved",
"type": "event",
"payable": false,
"inputs": [
{
"name": "validator",
"type": "address",
"indexed": true
},
{
"name": "caller",
"type": "address",
"indexed": true
},
{
"name": "threshold",
"type": "uint256",
"indexed": false
}
],
"outputs": null,
"constant": false,
"anonymous": false
},
{
"name": "OwnershipChanged",
"type": "event",
"payable": false,
"inputs": [
{
"name": "prevOwner",
"type": "address",
"indexed": true
},
{
"name": "newOwner",
"type": "address",
"indexed": true
}
],
"outputs": null,
"constant": false,
"anonymous": false
}
]