mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
388 lines
26 KiB
JSON
388 lines
26 KiB
JSON
|
{
|
||
|
"contractName": "InstaIndex",
|
||
|
"abi": [
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "sender",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "owner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "account",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "origin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogAccountCreated",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "_newAccount",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "_connectors",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "_check",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogNewAccount",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "accountVersion",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "check",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogNewCheck",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "master",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogNewMaster",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "master",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogUpdateMaster",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "account",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newAccount",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_connectors",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_check",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addNewAccount",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_owner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "accountVersion",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_origin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "build",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_account",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_owner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "accountVersion",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "_targets",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes[]",
|
||
|
"name": "_datas",
|
||
|
"type": "bytes[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_origin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "buildWithCast",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_account",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "accountVersion",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newCheck",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "changeCheck",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newMaster",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "changeMaster",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "check",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "connectors",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "version",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "query",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isClone",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "result",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "list",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "master",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_master",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_list",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_account",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_connectors",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "setBasics",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "updateMaster",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "versionCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"bytecode": "0x608060405234801561001057600080fd5b50611199806100206000396000f3fe6080604052600436106100dd5760003560e01c80638aad29e11161007f578063cf1a0ddc11610059578063cf1a0ddc14610231578063ee97f7f314610246578063f4ff78bf1461025b578063fdc3870c1461027b576100dd565b80638aad29e1146101cf578063a4bb8e7d146101f1578063bb7e70ef14610211576100dd565b8063443ff7b6116100bb578063443ff7b61461014d5780634f5b25611461016f5780635f72f4501461018257806374368189146101a2576100dd565b80630f560cd7146100e257806313ede1a11461010d5780632dd7c6581461012d575b600080fd5b3480156100ee57600080fd5b506100f761029b565b6040516101049190610e9a565b60405180910390f35b34801561011957600080fd5b506100f7610128366004610df6565b6102aa565b34801561013957600080fd5b506100f7610148366004610df6565b6102c5565b34801561015957600080fd5b5061016d610168366004610e26565b6102e0565b005b6100f761017d366004610cd3565b6103a6565b34801561018e57600080fd5b506100f761019d366004610df6565b610454565b3480156101ae57600080fd5b506101c26101bd366004610e26565b61046f565b6040516101049190610fa1565b3480156101db57600080fd5b506101e46104ea565b60405161010491906110fb565b3480156101fd57600080fd5b5061016d61020c366004610c3b565b6104f0565b34801561021d57600080fd5b506100f761022c366004610c92565b610629565b34801561023d57600080fd5b5061016d61077e565b34801561025257600080fd5b506100f7610823565b34801561026757600080fd5b5061016d610276366004610bd4565b610832565b34801561028757600080fd5b5061016d610296366004610bf6565b610926565b6002546001600160a01b031681565b6003602052600090815260409020546001600160a01b031681565b6005602052600090815260409020546001600160a01b031681565b6001546001600160a01b031633146103135760405162461bcd60e51b815260040161030a906110ac565b60405180910390fd5b6000828152600460205260409020546001600160a01b038281169116141561034d5760405162461bcd60e51b815260040161030a90611059565b60008281526004602052604080822080546001600160a01b0319166001600160a01b0385169081179091559051909184917f1d96dda971e33be0980128bbce3f93dfe4859657397e00d2db4d288d2c2bc7889190a35050565b60006103b3888884610629565b905084156104495760405163e0e90acf60e01b81526001600160a01b0382169063e0e90acf9034906103f1908a908a908a908a908a90600401610eae565b6000604051808303818588803b15801561040a57600080fd5b505af115801561041e573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526104479190810190610d6d565b505b979650505050505050565b6004602052600090815260409020546001600160a01b031681565b60008281526005602052604080822054815169363d3d373d3d3d363d7360b01b815260609190911b6bffffffffffffffffffffffff1916600a82018190526e5af43d82803e903d91602b57fd5bf360881b601e830152918101602d8482873c600d810151600d83015114815183511416935050505092915050565b60065481565b6001546001600160a01b031615801561051257506002546001600160a01b0316155b80156105505750600160005260056020527f1471eb6eb2c5e789fc3de43f8ce62938c7d1836ec861730447e2ada8fd81017b546001600160a01b0316155b801561058e5750600160005260036020527fa15bc60c955c405d20d9149c709e2460f1c2d9a497496a7f46004d1772c3054c546001600160a01b0316155b801561059a5750600654155b6105b65760405162461bcd60e51b815260040161030a90611005565b600180546001600160a01b039586166001600160a01b03199182161782556002805495871695821695909517909455600680549091018082556000908152600560209081526040808320805496891696881696909617909555915481526003909152919091208054919093169116179055565b6000821580159061063c57506006548311155b6106585760405162461bcd60e51b815260040161030a90610fda565b61066183610b00565b60025460405163066ad14f60e21b81529192506001600160a01b0316906319ab453c90610692908490600401610e9a565b600060405180830381600087803b1580156106ac57600080fd5b505af11580156106c0573d6000803e3d6000fd5b5050604051630b7f436d60e31b81526001600160a01b0384169250635bfa1b6891506106f0908790600401610e9a565b600060405180830381600087803b15801561070a57600080fd5b505af115801561071e573d6000803e3d6000fd5b50505050816001600160a01b0316816001600160a01b0316856001600160a01b03167f83435eca805f6256e4aa778ee8b2e8aec7485fa4b643a0fff05b7df6bf6883893360405161076f9190610e9a565b60405180910390a49392505050565b6000546001600160a01b03166107a65760405162461bcd60e51b815260040161030a906110d0565b6000546001600160a01b031633146107d05760405162461bcd60e51b815260040161030a906110ac565b600080546001
|
||
|
"deployedBytecode": "0x6080604052600436106100dd5760003560e01c80638aad29e11161007f578063cf1a0ddc11610059578063cf1a0ddc14610231578063ee97f7f314610246578063f4ff78bf1461025b578063fdc3870c1461027b576100dd565b80638aad29e1146101cf578063a4bb8e7d146101f1578063bb7e70ef14610211576100dd565b8063443ff7b6116100bb578063443ff7b61461014d5780634f5b25611461016f5780635f72f4501461018257806374368189146101a2576100dd565b80630f560cd7146100e257806313ede1a11461010d5780632dd7c6581461012d575b600080fd5b3480156100ee57600080fd5b506100f761029b565b6040516101049190610e9a565b60405180910390f35b34801561011957600080fd5b506100f7610128366004610df6565b6102aa565b34801561013957600080fd5b506100f7610148366004610df6565b6102c5565b34801561015957600080fd5b5061016d610168366004610e26565b6102e0565b005b6100f761017d366004610cd3565b6103a6565b34801561018e57600080fd5b506100f761019d366004610df6565b610454565b3480156101ae57600080fd5b506101c26101bd366004610e26565b61046f565b6040516101049190610fa1565b3480156101db57600080fd5b506101e46104ea565b60405161010491906110fb565b3480156101fd57600080fd5b5061016d61020c366004610c3b565b6104f0565b34801561021d57600080fd5b506100f761022c366004610c92565b610629565b34801561023d57600080fd5b5061016d61077e565b34801561025257600080fd5b506100f7610823565b34801561026757600080fd5b5061016d610276366004610bd4565b610832565b34801561028757600080fd5b5061016d610296366004610bf6565b610926565b6002546001600160a01b031681565b6003602052600090815260409020546001600160a01b031681565b6005602052600090815260409020546001600160a01b031681565b6001546001600160a01b031633146103135760405162461bcd60e51b815260040161030a906110ac565b60405180910390fd5b6000828152600460205260409020546001600160a01b038281169116141561034d5760405162461bcd60e51b815260040161030a90611059565b60008281526004602052604080822080546001600160a01b0319166001600160a01b0385169081179091559051909184917f1d96dda971e33be0980128bbce3f93dfe4859657397e00d2db4d288d2c2bc7889190a35050565b60006103b3888884610629565b905084156104495760405163e0e90acf60e01b81526001600160a01b0382169063e0e90acf9034906103f1908a908a908a908a908a90600401610eae565b6000604051808303818588803b15801561040a57600080fd5b505af115801561041e573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526104479190810190610d6d565b505b979650505050505050565b6004602052600090815260409020546001600160a01b031681565b60008281526005602052604080822054815169363d3d373d3d3d363d7360b01b815260609190911b6bffffffffffffffffffffffff1916600a82018190526e5af43d82803e903d91602b57fd5bf360881b601e830152918101602d8482873c600d810151600d83015114815183511416935050505092915050565b60065481565b6001546001600160a01b031615801561051257506002546001600160a01b0316155b80156105505750600160005260056020527f1471eb6eb2c5e789fc3de43f8ce62938c7d1836ec861730447e2ada8fd81017b546001600160a01b0316155b801561058e5750600160005260036020527fa15bc60c955c405d20d9149c709e2460f1c2d9a497496a7f46004d1772c3054c546001600160a01b0316155b801561059a5750600654155b6105b65760405162461bcd60e51b815260040161030a90611005565b600180546001600160a01b039586166001600160a01b03199182161782556002805495871695821695909517909455600680549091018082556000908152600560209081526040808320805496891696881696909617909555915481526003909152919091208054919093169116179055565b6000821580159061063c57506006548311155b6106585760405162461bcd60e51b815260040161030a90610fda565b61066183610b00565b60025460405163066ad14f60e21b81529192506001600160a01b0316906319ab453c90610692908490600401610e9a565b600060405180830381600087803b1580156106ac57600080fd5b505af11580156106c0573d6000803e3d6000fd5b5050604051630b7f436d60e31b81526001600160a01b0384169250635bfa1b6891506106f0908790600401610e9a565b600060405180830381600087803b15801561070a57600080fd5b505af115801561071e573d6000803e3d6000fd5b50505050816001600160a01b0316816001600160a01b0316856001600160a01b03167f83435eca805f6256e4aa778ee8b2e8aec7485fa4b643a0fff05b7df6bf6883893360405161076f9190610e9a565b60405180910390a49392505050565b6000546001600160a01b03166107a65760405162461bcd60e51b815260040161030a906110d0565b6000546001600160a01b031633146107d05760405162461bcd60e51b815260040161030a906110ac565b60008054600180546001600160a01b038084166001600160a01b0319928316179283
|
||
|
"linkReferences": {},
|
||
|
"deployedLinkReferences": {}
|
||
|
}
|