mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
229 lines
20 KiB
JSON
229 lines
20 KiB
JSON
{
|
|
"contractName": "InstaList",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"name": "accountAddr",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "accountID",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"name": "accountLink",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "first",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "last",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "count",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "accountList",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "prev",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "next",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "accounts",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_owner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "addAuth",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "init",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "instaIndex",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_owner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "removeAuth",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "userLink",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "first",
|
|
"type": "uint64"
|
|
},
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "last",
|
|
"type": "uint64"
|
|
},
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "count",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"name": "userList",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "prev",
|
|
"type": "uint64"
|
|
},
|
|
{
|
|
"internalType": "uint64",
|
|
"name": "next",
|
|
"type": "uint64"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"bytecode": "0x608060405234801561001057600080fd5b50610fb4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80636cfaf5e9116100715780636cfaf5e9146101c6578063748e6e18146101ec5780637f3fd918146102505780638028a9fd14610276578063a41098bf146102cf578063f227a99f146102d7576100a9565b806319ab453c146100ae5780635422224e146100d65780635f3c37f9146100fc57806360330d791461016057806368cd03f6146101a2575b600080fd5b6100d4600480360360208110156100c457600080fd5b50356001600160a01b0316610328565b005b6100d4600480360360208110156100ec57600080fd5b50356001600160a01b03166103d6565b6101316004803603604081101561011257600080fd5b5080356001600160401b031690602001356001600160a01b0316610528565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b6101866004803603602081101561017657600080fd5b50356001600160401b0316610559565b604080516001600160a01b039092168252519081900360200190f35b6101aa610574565b604080516001600160401b039092168252519081900360200190f35b6101aa600480360360208110156101dc57600080fd5b50356001600160a01b0316610583565b6102216004803603604081101561020257600080fd5b5080356001600160a01b031690602001356001600160401b031661059e565b60405180836001600160401b03168152602001826001600160401b031681526020019250505060405180910390f35b6100d46004803603602081101561026657600080fd5b50356001600160a01b03166105cf565b61029c6004803603602081101561028c57600080fd5b50356001600160401b0316610723565b604080516001600160a01b0394851681529290931660208301526001600160401b03168183015290519081900360600190f35b61018661075b565b6102fd600480360360208110156102ed57600080fd5b50356001600160a01b0316610760565b604080516001600160401b039485168152928416602084015292168183015290519081900360600190f35b3315610367576040805162461bcd60e51b81526020600482015260096024820152680dcdee85ad2dcc8caf60bb1b604482015290519081900360640190fd5b600080546001600160401b038082166001908101821667ffffffffffffffff19938416178085556001600160a01b0390951680855260209182526040808620805490951696841696909617909355835490911683526002905291902080546001600160a01b0319169091179055565b336000908152600160205260409020546001600160401b031661042e576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd0b5858d8dbdd5b9d60aa1b604482015290519081900360640190fd5b60408051632520e7ff60e01b81526001600160a01b038316600482015290513391632520e7ff916024808301926020929190829003018186803b15801561047457600080fd5b505afa158015610488573d6000803e3d6000fd5b505050506040513d602081101561049e57600080fd5b50516104dd576040805162461bcd60e51b81526020600482015260096024820152683737ba16b7bbb732b960b91b604482015290519081900360640190fd5b336000908152600160205260409020546105019082906001600160401b0316610791565b336000908152600160205260409020546105259082906001600160401b031661092f565b50565b6006602090815260009283526040808420909152908252902080546001909101546001600160a01b03918216911682565b6002602052600090815260409020546001600160a01b031681565b6000546001600160401b031681565b6001602052600090815260409020546001600160401b031681565b60046020908152600092835260408084209091529082529020546001600160401b0380821691600160401b90041682565b336000908152600160205260409020546001600160401b0316610627576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd0b5858d8dbdd5b9d60aa1b604482015290519081900360640190fd5b60408051632520e7ff60e01b81526001600160a01b038316600482015290513391632520e7ff916024808301926020929190829003018186803b15801561066d57600080fd5b505afa158015610681573d6000803e3d6000fd5b505050506040513d602081101561069757600080fd5b5051156106db576040805162461bcd60e51b815260206004820152600d60248201526c30b63932b0b23c96b7bbb732b960991b604482015290519081900360640190fd5b336000908152600160205260409020546106ff9082906001600160401b0316610aa6565b336000908152600160205260409020546105259082906001600160401b0316610cb6565b600560205260009081526040902080546001909101546001600160a01b0391821691811690600160a01b90046001600160401b031683565b600081565b6003602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b9091041683565b6001600160a01b038216600090815260036020526040902054600160401b90046001600160401b031615610839576001600160a01b03821660009081526003602090815260408083208054600484528285206001600160401b03878116808852919095528386208054600160401b93849004871667ffffffffffffffff19909116179055915481900490931684529220805467ffffffffffffffff60401b1916919092021790555b6001600160a01b0382166000908152600360205260409020546001600160401b0316610892576001600160a01b0382166000908152600360205260409020805467ffffffffffffffff19166001600160401b0383161790555b6001600160a01b038216600090815260036020526040902080546001600160401b03808416600160401b0267ffffffffffffffff60401b1990921691909117918290556108e891600160801b9004166001610ec1565b6001600160a01b03909216600090815260036020526040902080546001600160401b0393909316600160801b0267ffffffffffffffff60801b199093169290921790915550565b6001600160401b0381166000908152600560205260409020600101546001600160a01b0316156109c4576001600160401b038116600090815260056020908152604080832060019081018054600685528386206001600160a01b038981168089529190965284872080549287166001600160a01b03199384161790559154909416855291909320909201805490911690911790555b6001600160401b0381166000908152600560205260409020546001600160a01b0316610a1c576001600160401b038116600090815260056020526040902080546001600160a01b0319166001600160a01b0384161790555b6001600160401b038181166000908152600560205260409020600190810180546001600160a01b0319166001600160a01b0386161790819055610a6892600160a01b9091041690610ec1565b6001600160401b039182166000908152600560205260409020600101805491909216600160a01b0267ffffffffffffffff60a01b1990911617905550565b6001600160a01b03821660009081526004602090815260408083206001600160401b03858116855292529091205480821691600160401b909104168115610b36576001600160a01b03841660009081526004602090815260408083206001600160401b03808716855292529091208054918316600160401b0267ffffffffffffffff60401b199092169190911790555b6001600160401b03811615610b89576001600160a01b03841660009081526004602090815260408083206001600160401b0385811685529252909120805467ffffffffffffffff19169184169190911790555b6001600160401b038216610bca576001600160a01b0384166000908152600360205260409020805467ffffffffffffffff19166001600160401b0383161790555b6001600160401b038116610c14576001600160a01b0384166000908152600360205260409020805467ffffffffffffffff60401b1916600160401b6001600160401b038516021790555b6001600160a01b038416600090815260036020526040902054610c4890600160801b90046001600160401b03166001610f22565b6001600160a01b03949094166000908152600360209081526040808320805467ffffffffffffffff60801b1916600160801b6001600160401b03998a1602179055600482528083209590961682529390935250502080546fffffffffffffffffffffffffffffffff19169055565b6001600160401b03811660009081526006602090815260408083206001600160a01b0386811685529252909120805460019091015490821691168115610d3c576001600160401b03831660009081526006602090815260408083206001600160a01b038681168552925290912060010180546001600160a01b0319169183169190911790555b6001600160a01b03811615610d8e576001600160401b03831660009081526006602090815260408083206001600160a01b038581168552925290912080546001600160a01b0319169184169190911790555b6001600160a01b038216610dce576001600160401b038316600090815260056020526040902080546001600160a01b0319166001600160a01b0383161790555b6001600160a01b038116610e11576001600160401b038316600090815260056020526040902060010180546001600160a01b0319166001600160a01b0384161790555b6001600160401b038084166000908152600560205260409020600190810154610e4392600160a01b9091041690610f22565b6001600160401b0393841660009081526005602090815260408083206001908101805495909816600160a01b0267ffffffffffffffff60a01b1990951694909417909655600681528582206001600160a01b039097168252959095529290932080546001600160a01b03199081168255920180549092169091555050565b8082016001600160401b038084169082161015610f1c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b92915050565b8082036001600160401b038084169082161115610f1c576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fdfea2646970667358221220c45a7c96b07471f5af32f4cbf3c5195da4d38431308fbcb1d062df1b6c2465d964736f6c634300060c0033",
|
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80636cfaf5e9116100715780636cfaf5e9146101c6578063748e6e18146101ec5780637f3fd918146102505780638028a9fd14610276578063a41098bf146102cf578063f227a99f146102d7576100a9565b806319ab453c146100ae5780635422224e146100d65780635f3c37f9146100fc57806360330d791461016057806368cd03f6146101a2575b600080fd5b6100d4600480360360208110156100c457600080fd5b50356001600160a01b0316610328565b005b6100d4600480360360208110156100ec57600080fd5b50356001600160a01b03166103d6565b6101316004803603604081101561011257600080fd5b5080356001600160401b031690602001356001600160a01b0316610528565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b6101866004803603602081101561017657600080fd5b50356001600160401b0316610559565b604080516001600160a01b039092168252519081900360200190f35b6101aa610574565b604080516001600160401b039092168252519081900360200190f35b6101aa600480360360208110156101dc57600080fd5b50356001600160a01b0316610583565b6102216004803603604081101561020257600080fd5b5080356001600160a01b031690602001356001600160401b031661059e565b60405180836001600160401b03168152602001826001600160401b031681526020019250505060405180910390f35b6100d46004803603602081101561026657600080fd5b50356001600160a01b03166105cf565b61029c6004803603602081101561028c57600080fd5b50356001600160401b0316610723565b604080516001600160a01b0394851681529290931660208301526001600160401b03168183015290519081900360600190f35b61018661075b565b6102fd600480360360208110156102ed57600080fd5b50356001600160a01b0316610760565b604080516001600160401b039485168152928416602084015292168183015290519081900360600190f35b3315610367576040805162461bcd60e51b81526020600482015260096024820152680dcdee85ad2dcc8caf60bb1b604482015290519081900360640190fd5b600080546001600160401b038082166001908101821667ffffffffffffffff19938416178085556001600160a01b0390951680855260209182526040808620805490951696841696909617909355835490911683526002905291902080546001600160a01b0319169091179055565b336000908152600160205260409020546001600160401b031661042e576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd0b5858d8dbdd5b9d60aa1b604482015290519081900360640190fd5b60408051632520e7ff60e01b81526001600160a01b038316600482015290513391632520e7ff916024808301926020929190829003018186803b15801561047457600080fd5b505afa158015610488573d6000803e3d6000fd5b505050506040513d602081101561049e57600080fd5b50516104dd576040805162461bcd60e51b81526020600482015260096024820152683737ba16b7bbb732b960b91b604482015290519081900360640190fd5b336000908152600160205260409020546105019082906001600160401b0316610791565b336000908152600160205260409020546105259082906001600160401b031661092f565b50565b6006602090815260009283526040808420909152908252902080546001909101546001600160a01b03918216911682565b6002602052600090815260409020546001600160a01b031681565b6000546001600160401b031681565b6001602052600090815260409020546001600160401b031681565b60046020908152600092835260408084209091529082529020546001600160401b0380821691600160401b90041682565b336000908152600160205260409020546001600160401b0316610627576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd0b5858d8dbdd5b9d60aa1b604482015290519081900360640190fd5b60408051632520e7ff60e01b81526001600160a01b038316600482015290513391632520e7ff916024808301926020929190829003018186803b15801561066d57600080fd5b505afa158015610681573d6000803e3d6000fd5b505050506040513d602081101561069757600080fd5b5051156106db576040805162461bcd60e51b815260206004820152600d60248201526c30b63932b0b23c96b7bbb732b960991b604482015290519081900360640190fd5b336000908152600160205260409020546106ff9082906001600160401b0316610aa6565b336000908152600160205260409020546105259082906001600160401b0316610cb6565b600560205260009081526040902080546001909101546001600160a01b0391821691811690600160a01b90046001600160401b031683565b600081565b6003602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b9091041683565b6001600160a01b038216600090815260036020526040902054600160401b90046001600160401b031615610839576001600160a01b03821660009081526003602090815260408083208054600484528285206001600160401b03878116808852919095528386208054600160401b93849004871667ffffffffffffffff19909116179055915481900490931684529220805467ffffffffffffffff60401b1916919092021790555b6001600160a01b0382166000908152600360205260409020546001600160401b0316610892576001600160a01b0382166000908152600360205260409020805467ffffffffffffffff19166001600160401b0383161790555b6001600160a01b038216600090815260036020526040902080546001600160401b03808416600160401b0267ffffffffffffffff60401b1990921691909117918290556108e891600160801b9004166001610ec1565b6001600160a01b03909216600090815260036020526040902080546001600160401b0393909316600160801b0267ffffffffffffffff60801b199093169290921790915550565b6001600160401b0381166000908152600560205260409020600101546001600160a01b0316156109c4576001600160401b038116600090815260056020908152604080832060019081018054600685528386206001600160a01b038981168089529190965284872080549287166001600160a01b03199384161790559154909416855291909320909201805490911690911790555b6001600160401b0381166000908152600560205260409020546001600160a01b0316610a1c576001600160401b038116600090815260056020526040902080546001600160a01b0319166001600160a01b0384161790555b6001600160401b038181166000908152600560205260409020600190810180546001600160a01b0319166001600160a01b0386161790819055610a6892600160a01b9091041690610ec1565b6001600160401b039182166000908152600560205260409020600101805491909216600160a01b0267ffffffffffffffff60a01b1990911617905550565b6001600160a01b03821660009081526004602090815260408083206001600160401b03858116855292529091205480821691600160401b909104168115610b36576001600160a01b03841660009081526004602090815260408083206001600160401b03808716855292529091208054918316600160401b0267ffffffffffffffff60401b199092169190911790555b6001600160401b03811615610b89576001600160a01b03841660009081526004602090815260408083206001600160401b0385811685529252909120805467ffffffffffffffff19169184169190911790555b6001600160401b038216610bca576001600160a01b0384166000908152600360205260409020805467ffffffffffffffff19166001600160401b0383161790555b6001600160401b038116610c14576001600160a01b0384166000908152600360205260409020805467ffffffffffffffff60401b1916600160401b6001600160401b038516021790555b6001600160a01b038416600090815260036020526040902054610c4890600160801b90046001600160401b03166001610f22565b6001600160a01b03949094166000908152600360209081526040808320805467ffffffffffffffff60801b1916600160801b6001600160401b03998a1602179055600482528083209590961682529390935250502080546fffffffffffffffffffffffffffffffff19169055565b6001600160401b03811660009081526006602090815260408083206001600160a01b0386811685529252909120805460019091015490821691168115610d3c576001600160401b03831660009081526006602090815260408083206001600160a01b038681168552925290912060010180546001600160a01b0319169183169190911790555b6001600160a01b03811615610d8e576001600160401b03831660009081526006602090815260408083206001600160a01b038581168552925290912080546001600160a01b0319169184169190911790555b6001600160a01b038216610dce576001600160401b038316600090815260056020526040902080546001600160a01b0319166001600160a01b0383161790555b6001600160a01b038116610e11576001600160401b038316600090815260056020526040902060010180546001600160a01b0319166001600160a01b0384161790555b6001600160401b038084166000908152600560205260409020600190810154610e4392600160a01b9091041690610f22565b6001600160401b0393841660009081526005602090815260408083206001908101805495909816600160a01b0267ffffffffffffffff60a01b1990951694909417909655600681528582206001600160a01b039097168252959095529290932080546001600160a01b03199081168255920180549092169091555050565b8082016001600160401b038084169082161015610f1c576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b92915050565b8082036001600160401b038084169082161115610f1c576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fdfea2646970667358221220c45a7c96b07471f5af32f4cbf3c5195da4d38431308fbcb1d062df1b6c2465d964736f6c634300060c0033",
|
|
"linkReferences": {},
|
|
"deployedLinkReferences": {}
|
|
}
|