0 txs
0 calls
constructor
constructor()
functions
currentMerkleRoot
viewfunction currentMerkleRoot() view returns (bytes32)
currentMerkleRootIndex
viewfunction currentMerkleRootIndex() view returns (uint256)
getCumulativeBlastGold
viewfunction getCumulativeBlastGold(address account) view returns (uint256)
getCumulativeBlastPoints
viewfunction getCumulativeBlastPoints(address account) view returns (uint256)
isClaimed
viewfunction isClaimed(uint256 index, address account) view returns (bool)
owner
viewfunction owner() view returns (address)
paused
viewfunction paused() view returns (bool)
userClaims
viewfunction userClaims(address user) view returns (uint256 lastClaimedIndex, uint256 cumulativeBlastPointAmount, uint256 cumulativeBlastGoldAmount)
claim
nonpayablefunction claim(uint256 index, address account, uint256 cumulativeBlastPointAmount, uint256 cumulativeBlastGoldAmount, bytes32[] merkleProof)
initialize
nonpayablefunction initialize()
pause
nonpayablefunction pause()
renounceOwnership
nonpayablefunction renounceOwnership()
setMerkleRoot
nonpayablefunction setMerkleRoot(bytes32 _merkleRootToSet)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
unpause
nonpayablefunction unpause()
events
Claimed
event Claimed(uint256 index, address account, uint256 blastPoints, uint256 blastGold)
Initialized
event Initialized(uint8 version)
MerkleRootSet
event MerkleRootSet(uint256 index, bytes32 currentMerkleRoot)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused
event Paused(address account)
Unpaused
event Unpaused(address account)
errors
AlreadyClaimed
error AlreadyClaimed()
InvalidMerkleProof
error InvalidMerkleProof()
NoPointsToClaim
error NoPointsToClaim()
ZeroValueProvided
error ZeroValueProvided()
creation bytecode
0x608060405234801561000f575f80fd5b5061001861001d565b6100d9565b5f54610100900460ff16156100885760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff908116146100d7575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b611056806100e65f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c80638129fc1c116100935780639ea97190116100635780639ea9719014610207578063d2ef079514610210578063f0a3563c14610223578063f2fde38b1461026c575f80fd5b80638129fc1c1461019757806382b8bae01461019f5780638456cb59146101d75780638da5cb5b146101df575f80fd5b80634b9c1e0d116100ce5780634b9c1e0d1461015c5780635c975abb14610165578063715018a61461017c5780637cb6475914610184575f80fd5b80633c99c96e146100f45780633e4fcb211461013f5780633f4ba83a14610154575b5f80fd5b61012c610102366004610e88565b73ffffffffffffffffffffffffffffffffffffffff165f9081526099602052604090206002015490565b6040519081526020015b60405180910390f35b61015261014d366004610ea1565b61027f565b005b610152610506565b61012c60975481565b60655460ff165b6040519015158152602001610136565b610152610518565b610152610192366004610f3b565b610529565b6101526105ca565b61012c6101ad366004610e88565b73ffffffffffffffffffffffffffffffffffffffff165f9081526099602052604090206001015490565b61015261075f565b60335460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610136565b61012c60985481565b61016c61021e366004610f52565b61076f565b610251610231366004610e88565b60996020525f908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610136565b61015261027a366004610e88565b6107d9565b61028761088d565b6098546102c0576040517fad3e811300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102ca868661076f565b15610301576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b16602082015260348101859052605481018490525f9060740160405160208183030381529060405280519060200120905061039b8383808060200260200160405190810160405280939291908181526020018383602002808284375f920191909152505060985491508490506108fa565b6103d1576040517fb05e92fa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff86165f908152609960205260408120600101546104039087610fa9565b73ffffffffffffffffffffffffffffffffffffffff88165f90815260996020526040812060020154919250906104399087610fa9565b905081158015610447575080155b1561047e576040517f029116b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff88165f818152609960209081526040918290208c8155600181018b905560020189905581518c8152908101929092528101839052606081018290527fd9cb1e2714d65a111c0f20f060176ad657496bd47a3de04ec7c3d4ca232112ac9060800160405180910390a1505050505050505050565b61050e61090f565b610516610990565b565b61052061090f565b6105165f610a0d565b61053161090f565b80610568576040517fad3e811300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b609881905560978054905f61057c83610fbc565b91905055507fb04b7d6145a7588fdcf339a22877d5965f861c171204fc37688058c5f6c06d3b6097546098546040516105bf929190918252602082015260400190565b60405180910390a150565b5f54610100900460ff16158080156105e857505f54600160ff909116105b806106015750303b15801561060157505f5460ff166001145b610692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156106ee575f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6106f6610a83565b6106fe610b21565b801561075c575f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020016105bf565b50565b61076761090f565b610516610bbf565b5f825f036107a9576040517fad3e811300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff81165f908152609960205260409020548211155b92915050565b6107e161090f565b73ffffffffffffffffffffffffffffffffffffffff8116610884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610689565b61075c81610a0d565b60655460ff1615610516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610689565b5f826109068584610c1a565b14949350505050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b610998610c66565b606580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f54610100900460ff16610b19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610689565b610516610cd2565b5f54610100900460ff16610bb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610689565b610516610d71565b610bc761088d565b606580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109e33390565b5f81815b8451811015610c5e57610c4a82868381518110610c3d57610c3d610ff3565b6020026020010151610e31565b915080610c5681610fbc565b915050610c1e565b509392505050565b60655460ff16610516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610689565b5f54610100900460ff16610d68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610689565b61051633610a0d565b5f54610100900460ff16610e07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610689565b606580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b5f818310610e4b575f828152602084905260409020610e59565b5f8381526020839052604090205b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610e83575f80fd5b919050565b5f60208284031215610e98575f80fd5b610e5982610e60565b5f805f805f8060a08789031215610eb6575f80fd5b86359550610ec660208801610e60565b94506040870135935060608701359250608087013567ffffffffffffffff80821115610ef0575f80fd5b818901915089601f830112610f03575f80fd5b813581811115610f11575f80fd5b8a60208260051b8501011115610f25575f80fd5b6020830194508093505050509295509295509295565b5f60208284031215610f4b575f80fd5b5035919050565b5f8060408385031215610f63575f80fd5b82359150610f7360208401610e60565b90509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b818103818111156107d3576107d3610f7c565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fec57610fec610f7c565b5060010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea2646970667358221220d7e1f73578a0036688ab5e82149fa9884d247513fa849dd7ca5254d560df865f64736f6c63430008150033