mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
325 lines
23 KiB
JSON
325 lines
23 KiB
JSON
|
{
|
||
|
"contractName": "InstaConnectors",
|
||
|
"abi": [
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogAddController",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogDisable",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogEnable",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogEnableStatic",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogRemoveController",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "chief",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "connectorArray",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "connectorCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "connectorLength",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "connectors",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "disable",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userAddress",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "disableChief",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "enable",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userAddress",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "enableChief",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_connector",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "enableStatic",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "instaIndex",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "_connectors",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "isConnector",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "isOk",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "_connectors",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "isStaticConnector",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "isOk",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "staticConnectorArray",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "staticConnectorLength",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "staticConnectors",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"bytecode": "0x608060405234801561001057600080fd5b506110ee806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806378ba255811610097578063ae15e02c11610066578063ae15e02c1461033e578063cc712c2314610364578063e6c09edf1461036c578063f2e180491461039257610100565b806378ba25581461029a578063a41098bf146102a2578063a829f165146102aa578063ac3f83341461031857610100565b80632e1fbdce116100d35780632e1fbdce1461020e5780635bfa1b681461022857806361f827801461024e5780636b1056ae1461027457610100565b80630867fa45146101055780630e53aae91461013e5780630f70d4a714610178578063144c61fe146101a0575b600080fd5b6101226004803603602081101561011b57600080fd5b50356103af565b604080516001600160a01b039092168252519081900360200190f35b6101646004803603602081101561015457600080fd5b50356001600160a01b03166103d6565b604080519115158252519081900360200190f35b61019e6004803603602081101561018e57600080fd5b50356001600160a01b03166103eb565b005b610164600480360360208110156101b657600080fd5b810190602081018135600160201b8111156101d057600080fd5b8201836020820111156101e257600080fd5b803590602001918460208302840111600160201b8311171561020357600080fd5b509092509050610502565b610216610561565b60408051918252519081900360200190f35b61019e6004803603602081101561023e57600080fd5b50356001600160a01b0316610567565b61019e6004803603602081101561026457600080fd5b50356001600160a01b03166106f2565b6101646004803603602081101561028a57600080fd5b50356001600160a01b0316610806565b61021661081b565b610122610821565b610164600480360360208110156102c057600080fd5b810190602081018135600160201b8111156102da57600080fd5b8201836020820111156102ec57600080fd5b803590602001918460208302840111600160201b8311171561030d57600080fd5b509092509050610826565b6101646004803603602081101561032e57600080fd5b50356001600160a01b031661087e565b61019e6004803603602081101561035457600080fd5b50356001600160a01b0316610893565b610216610a13565b61019e6004803603602081101561038257600080fd5b50356001600160a01b0316610a19565b610122600480360360208110156103a857600080fd5b5035610b97565b600381815481106103bc57fe5b6000918252602090912001546001600160a01b0316905081565b60016020526000908152604090205460ff1681565b3360009081526020819052604090205460ff1680610476575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b15801561043e57600080fd5b505afa158015610452573d6000803e3d6000fd5b505050506040513d602081101561046857600080fd5b50516001600160a01b031633145b6104b6576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220805460ff19166001179055517f69483bb868dc7929bac7b0735c53b685aeb5438761d41d189fbcdde8011b27979190a250565b600160005b8281101561055a576002600085858481811061051f57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff16610552576000915061055a565b600101610507565b5092915050565b60055490565b3360009081526020819052604090205460ff16806105f2575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ba57600080fd5b505afa1580156105ce573d6000803e3d6000fd5b505050506040513d60208110156105e457600080fd5b50516001600160a01b031633145b610632576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205460ff1615610692576040805162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4b595b98589b1959608a1b604482015290519081900360640190fd5b61069b81610ba4565b6001600160a01b0381166000818152600160208190526040808320805460ff19168317905560048054909201909155517fdc949ee4159e00c6f6c0277af4718b4329c1e113164f629e30029915196c530f9190a250565b3360009081526020819052604090205460ff168061077d575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d602081101561076f57600080fd5b50516001600160a01b031633145b6107bd576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220
|
||
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806378ba255811610097578063ae15e02c11610066578063ae15e02c1461033e578063cc712c2314610364578063e6c09edf1461036c578063f2e180491461039257610100565b806378ba25581461029a578063a41098bf146102a2578063a829f165146102aa578063ac3f83341461031857610100565b80632e1fbdce116100d35780632e1fbdce1461020e5780635bfa1b681461022857806361f827801461024e5780636b1056ae1461027457610100565b80630867fa45146101055780630e53aae91461013e5780630f70d4a714610178578063144c61fe146101a0575b600080fd5b6101226004803603602081101561011b57600080fd5b50356103af565b604080516001600160a01b039092168252519081900360200190f35b6101646004803603602081101561015457600080fd5b50356001600160a01b03166103d6565b604080519115158252519081900360200190f35b61019e6004803603602081101561018e57600080fd5b50356001600160a01b03166103eb565b005b610164600480360360208110156101b657600080fd5b810190602081018135600160201b8111156101d057600080fd5b8201836020820111156101e257600080fd5b803590602001918460208302840111600160201b8311171561020357600080fd5b509092509050610502565b610216610561565b60408051918252519081900360200190f35b61019e6004803603602081101561023e57600080fd5b50356001600160a01b0316610567565b61019e6004803603602081101561026457600080fd5b50356001600160a01b03166106f2565b6101646004803603602081101561028a57600080fd5b50356001600160a01b0316610806565b61021661081b565b610122610821565b610164600480360360208110156102c057600080fd5b810190602081018135600160201b8111156102da57600080fd5b8201836020820111156102ec57600080fd5b803590602001918460208302840111600160201b8311171561030d57600080fd5b509092509050610826565b6101646004803603602081101561032e57600080fd5b50356001600160a01b031661087e565b61019e6004803603602081101561035457600080fd5b50356001600160a01b0316610893565b610216610a13565b61019e6004803603602081101561038257600080fd5b50356001600160a01b0316610a19565b610122600480360360208110156103a857600080fd5b5035610b97565b600381815481106103bc57fe5b6000918252602090912001546001600160a01b0316905081565b60016020526000908152604090205460ff1681565b3360009081526020819052604090205460ff1680610476575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b15801561043e57600080fd5b505afa158015610452573d6000803e3d6000fd5b505050506040513d602081101561046857600080fd5b50516001600160a01b031633145b6104b6576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220805460ff19166001179055517f69483bb868dc7929bac7b0735c53b685aeb5438761d41d189fbcdde8011b27979190a250565b600160005b8281101561055a576002600085858481811061051f57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff16610552576000915061055a565b600101610507565b5092915050565b60055490565b3360009081526020819052604090205460ff16806105f2575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ba57600080fd5b505afa1580156105ce573d6000803e3d6000fd5b505050506040513d60208110156105e457600080fd5b50516001600160a01b031633145b610632576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205460ff1615610692576040805162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4b595b98589b1959608a1b604482015290519081900360640190fd5b61069b81610ba4565b6001600160a01b0381166000818152600160208190526040808320805460ff19168317905560048054909201909155517fdc949ee4159e00c6f6c0277af4718b4329c1e113164f629e30029915196c530f9190a250565b3360009081526020819052604090205460ff168061077d575060006001600160a01b031663ee97f7f36040518163ffffffff1660e01b815260040160206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d602081101561076f57600080fd5b50516001600160a01b031633145b6107bd576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b0b716b1b434b2b360a11b604482015290519081900360640190fd5b6001600160a01b038116600081815260208190526040808220805460ff19169055517fb28f1bf5635ec9671f4b88cd6b50e297659d
|
||
|
"linkReferences": {},
|
||
|
"deployedLinkReferences": {}
|
||
|
}
|