Created
December 26, 2019 17:21
-
-
Save gitpusha/c78b257af122daa3c4b4153e70b31850 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contractName": "GelatoUserProxy", | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address payable", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
} | |
], | |
"name": "executeCall", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "success", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "returndata", | |
"type": "bytes" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionGas", | |
"type": "uint256" | |
} | |
], | |
"name": "executeDelegatecall", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "success", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "returndata", | |
"type": "bytes" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getGelatoCore", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getUser", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"bytecode": "0x608060405234801561001057600080fd5b5060405161068c38038061068c8339818101604052602081101561003357600080fd5b5051806001600160a01b038116610091576040805162461bcd60e51b815260206004820152601d60248201527f47656c61746f5573657250726f78792e6e6f5a65726f41646472657373000000604482015290519081900360640190fd5b50600080546001600160a01b039092166001600160a01b031992831617905560018054909116331790556105c2806100ca6000396000f3fe60806040526004361061003f5760003560e01c80631b08e2b114610044578063832880e714610075578063bca8c7b51461008a578063c3e518301461018d575b600080fd5b34801561005057600080fd5b5061005961020d565b604080516001600160a01b039092168252519081900360200190f35b34801561008157600080fd5b5061005961021c565b61010a600480360360408110156100a057600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100cb57600080fd5b8201836020820111156100dd57600080fd5b803590602001918460018302840111640100000000831117156100ff57600080fd5b50909250905061022b565b604051808315151515815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b61010a600480360360608110156101a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156101ce57600080fd5b8201836020820111156101e057600080fd5b8035906020019184600183028401116401000000008311171561020257600080fd5b919350915035610396565b6001546001600160a01b031690565b6000546001600160a01b031690565b600080546060906001600160a01b0316331461028e576040805162461bcd60e51b815260206004820181905260248201527f47656c61746f5573657250726f78792e6f6e6c79557365723a206661696c6564604482015290519081900360640190fd5b846001600160a01b0381166102ea576040805162461bcd60e51b815260206004820152601d60248201527f47656c61746f5573657250726f78792e6e6f5a65726f41646472657373000000604482015290519081900360640190fd5b856001600160a01b03168585604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610346576040519150601f19603f3d011682016040523d82523d6000602084013e61034b565b606091505b5090935091508261038d5760405162461bcd60e51b81526004018080602001828103825260328152602001806105196032913960400191505060405180910390fd5b50935093915050565b600080546060906001600160a01b03163314806103bd57506001546001600160a01b031633145b61040e576040805162461bcd60e51b815260206004820152601c60248201527f47656c61746f5573657250726f78792e617574683a206661696c656400000000604482015290519081900360640190fd5b856001600160a01b03811661046a576040805162461bcd60e51b815260206004820152601d60248201527f47656c61746f5573657250726f78792e6e6f5a65726f41646472657373000000604482015290519081900360640190fd5b866001600160a01b031684878760405180838380828437604051920194506000935090915050808303818686f4925050503d80600081146104c7576040519150601f19603f3d011682016040523d82523d6000602084013e6104cc565b606091505b5090935091508261050e5760405162461bcd60e51b815260040180806020018281038252604281526020018061054b6042913960600191505060405180910390fd5b509450949250505056fe47656c61746f5573657250726f78792e6578656375746543616c6c28293a205f616374696f6e2e63616c6c206661696c656447656c61746f5573657250726f78792e6578656375746544656c656761746563616c6c28293a205f616374696f6e2e64656c656761746563616c6c206661696c6564a26469706673582212200159f5cb1be40def3f558ab3affef2306616de6f6d26fc4d511d7bd902e532f564736f6c63430006000033", | |
"deployedBytecode": "0x60806040526004361061003f5760003560e01c80631b08e2b114610044578063832880e714610075578063bca8c7b51461008a578063c3e518301461018d575b600080fd5b34801561005057600080fd5b5061005961020d565b604080516001600160a01b039092168252519081900360200190f35b34801561008157600080fd5b5061005961021c565b61010a600480360360408110156100a057600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100cb57600080fd5b8201836020820111156100dd57600080fd5b803590602001918460018302840111640100000000831117156100ff57600080fd5b50909250905061022b565b604051808315151515815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b61010a600480360360608110156101a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156101ce57600080fd5b8201836020820111156101e057600080fd5b8035906020019184600183028401116401000000008311171561020257600080fd5b919350915035610396565b6001546001600160a01b031690565b6000546001600160a01b031690565b600080546060906001600160a01b0316331461028e576040805162461bcd60e51b815260206004820181905260248201527f47656c61746f5573657250726f78792e6f6e6c79557365723a206661696c6564604482015290519081900360640190fd5b846001600160a01b0381166102ea576040805162461bcd60e51b815260206004820152601d60248201527f47656c61746f5573657250726f78792e6e6f5a65726f41646472657373000000604482015290519081900360640190fd5b856001600160a01b03168585604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610346576040519150601f19603f3d011682016040523d82523d6000602084013e61034b565b606091505b5090935091508261038d5760405162461bcd60e51b81526004018080602001828103825260328152602001806105196032913960400191505060405180910390fd5b50935093915050565b600080546060906001600160a01b03163314806103bd57506001546001600160a01b031633145b61040e576040805162461bcd60e51b815260206004820152601c60248201527f47656c61746f5573657250726f78792e617574683a206661696c656400000000604482015290519081900360640190fd5b856001600160a01b03811661046a576040805162461bcd60e51b815260206004820152601d60248201527f47656c61746f5573657250726f78792e6e6f5a65726f41646472657373000000604482015290519081900360640190fd5b866001600160a01b031684878760405180838380828437604051920194506000935090915050808303818686f4925050503d80600081146104c7576040519150601f19603f3d011682016040523d82523d6000602084013e6104cc565b606091505b5090935091508261050e5760405162461bcd60e51b815260040180806020018281038252604281526020018061054b6042913960600191505060405180910390fd5b509450949250505056fe47656c61746f5573657250726f78792e6578656375746543616c6c28293a205f616374696f6e2e63616c6c206661696c656447656c61746f5573657250726f78792e6578656375746544656c656761746563616c6c28293a205f616374696f6e2e64656c656761746563616c6c206661696c6564a26469706673582212200159f5cb1be40def3f558ab3affef2306616de6f6d26fc4d511d7bd902e532f564736f6c63430006000033", | |
"linkReferences": {}, | |
"deployedLinkReferences": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment