Skip to content

Instantly share code, notes, and snippets.

@gitpusha
Created December 26, 2019 17:20
Show Gist options
  • Save gitpusha/d8f7b531c4d3fc0adbedf0ce50c55470 to your computer and use it in GitHub Desktop.
Save gitpusha/d8f7b531c4d3fc0adbedf0ce50c55470 to your computer and use it in GitHub Desktop.
{
"contractName": "ActionMultiMintForTriggerTimestampPassed",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_gelatoCore",
"type": "address"
},
{
"internalType": "address",
"name": "_selectedExecutor",
"type": "address"
},
{
"internalType": "contract IGelatoTrigger",
"name": "_triggerTimestampPassed",
"type": "address"
},
{
"internalType": "uint256",
"name": "_startTime",
"type": "uint256"
},
{
"internalType": "contract IGelatoAction",
"name": "_action",
"type": "address"
},
{
"internalType": "bytes",
"name": "_actionPayloadWithSelector",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "_intervalSpan",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_numberOfMints",
"type": "uint256"
}
],
"name": "action",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "actionConditionsOk",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "actionConditionsOkGas",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "actionGas",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "actionSelector",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "actionTotalGas",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5061069c806100206000396000f3fe6080604052600436106100555760003560e01c80631e4409901461005a578063549c5a1d1461008c57806367fd236f146100b35780638acd9bba14610144578063c51a511114610159578063f0ed620f1461016e575b600080fd5b34801561006657600080fd5b5061006f610216565b604080516001600160e01b03199092168252519081900360200190f35b34801561009857600080fd5b506100a1610221565b60408051918252519081900360200190f35b3480156100bf57600080fd5b50610130600480360360208110156100d657600080fd5b8101906020810181356401000000008111156100f157600080fd5b82018360208201111561010357600080fd5b8035906020019184600183028401116401000000008311171561012557600080fd5b509092509050610228565b604080519115158252519081900360200190f35b34801561015057600080fd5b506100a1610231565b34801561016557600080fd5b506100a1610238565b610214600480360361010081101561018557600080fd5b6001600160a01b0382358116926020810135821692604082013583169260608301359260808101359091169181019060c0810160a08201356401000000008111156101cf57600080fd5b8201836020820111156101e157600080fd5b8035906020019184600183028401116401000000008311171561020357600080fd5b91935091508035906020013561023e565b005b63f0ed620f60e01b90565b620f424081565b60015b92915050565b620fb77081565b61753081565b6040805163776a8d6160e01b81526001600160a01b038a811660048301528981166024830152878116604483015291516000928c169163776a8d61916064808301926020929190829003018186803b15801561029957600080fd5b505afa1580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505190506102d7818363ffffffff61055a16565b34146103145760405162461bcd60e51b81526004018080602001828103825260318152602001806106366031913960400191505060405180910390fd5b60005b8281101561054d576000610341610334868463ffffffff61055a16565b8a9063ffffffff6105ba16565b905060608a6001600160a01b031663d4df1f2f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561037e57600080fd5b505afa158015610392573d6000803e3d6000fd5b505050506040513d60208110156103a857600080fd5b81019080805190602001909291905050508260405160240180828152602001915050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505090508c6001600160a01b03166317a7ce3d858e8e858e8e8e6040518863ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200180602001856001600160a01b03166001600160a01b0316815260200180602001838103835287818151815260200191508051906020019080838360005b838110156104ad578181015183820152602001610495565b50505050905090810190601f1680156104da5780820380516001836020036101000a031916815260200191505b508381038252848152602001858580828437600081840152601f19601f820116905080830192505050985050505050505050506000604051808303818588803b15801561052657600080fd5b505af115801561053a573d6000803e3d6000fd5b5050600190950194506103179350505050565b5050505050505050505050565b6000826105695750600061022b565b8282028284828161057657fe5b04146105b35760405162461bcd60e51b81526004018080602001828103825260218152602001806106156021913960400191505060405180910390fd5b9392505050565b6000828201838110156105b3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d756c74694d696e7454696d6542617365642e6d756c74694d696e743a20696e636f7272656374206d73672e76616c7565a26469706673582212205bfb591e7526b3e6484a25b3b4517093d56283c6340ac361fdd6ec0749c8691964736f6c63430006000033",
"deployedBytecode": "0x6080604052600436106100555760003560e01c80631e4409901461005a578063549c5a1d1461008c57806367fd236f146100b35780638acd9bba14610144578063c51a511114610159578063f0ed620f1461016e575b600080fd5b34801561006657600080fd5b5061006f610216565b604080516001600160e01b03199092168252519081900360200190f35b34801561009857600080fd5b506100a1610221565b60408051918252519081900360200190f35b3480156100bf57600080fd5b50610130600480360360208110156100d657600080fd5b8101906020810181356401000000008111156100f157600080fd5b82018360208201111561010357600080fd5b8035906020019184600183028401116401000000008311171561012557600080fd5b509092509050610228565b604080519115158252519081900360200190f35b34801561015057600080fd5b506100a1610231565b34801561016557600080fd5b506100a1610238565b610214600480360361010081101561018557600080fd5b6001600160a01b0382358116926020810135821692604082013583169260608301359260808101359091169181019060c0810160a08201356401000000008111156101cf57600080fd5b8201836020820111156101e157600080fd5b8035906020019184600183028401116401000000008311171561020357600080fd5b91935091508035906020013561023e565b005b63f0ed620f60e01b90565b620f424081565b60015b92915050565b620fb77081565b61753081565b6040805163776a8d6160e01b81526001600160a01b038a811660048301528981166024830152878116604483015291516000928c169163776a8d61916064808301926020929190829003018186803b15801561029957600080fd5b505afa1580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505190506102d7818363ffffffff61055a16565b34146103145760405162461bcd60e51b81526004018080602001828103825260318152602001806106366031913960400191505060405180910390fd5b60005b8281101561054d576000610341610334868463ffffffff61055a16565b8a9063ffffffff6105ba16565b905060608a6001600160a01b031663d4df1f2f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561037e57600080fd5b505afa158015610392573d6000803e3d6000fd5b505050506040513d60208110156103a857600080fd5b81019080805190602001909291905050508260405160240180828152602001915050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505090508c6001600160a01b03166317a7ce3d858e8e858e8e8e6040518863ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200180602001856001600160a01b03166001600160a01b0316815260200180602001838103835287818151815260200191508051906020019080838360005b838110156104ad578181015183820152602001610495565b50505050905090810190601f1680156104da5780820380516001836020036101000a031916815260200191505b508381038252848152602001858580828437600081840152601f19601f820116905080830192505050985050505050505050506000604051808303818588803b15801561052657600080fd5b505af115801561053a573d6000803e3d6000fd5b5050600190950194506103179350505050565b5050505050505050505050565b6000826105695750600061022b565b8282028284828161057657fe5b04146105b35760405162461bcd60e51b81526004018080602001828103825260218152602001806106156021913960400191505060405180910390fd5b9392505050565b6000828201838110156105b3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d756c74694d696e7454696d6542617365642e6d756c74694d696e743a20696e636f7272656374206d73672e76616c7565a26469706673582212205bfb591e7526b3e6484a25b3b4517093d56283c6340ac361fdd6ec0749c8691964736f6c63430006000033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment