mirror of
https://github.com/Instadapp/dsa-connectors-2.0.git
synced 2024-07-29 21:57:39 +00:00
123 lines
22 KiB
JSON
123 lines
22 KiB
JSON
{
|
|
"_format": "hh-sol-artifact-1",
|
|
"contractName": "InstaImplementationM1",
|
|
"sourceName": "contracts/v2/accounts/Implementation_m1.sol",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_instaIndex",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_connectors",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "origin",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "value",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "string[]",
|
|
"name": "targetsNames",
|
|
"type": "string[]"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address[]",
|
|
"name": "targets",
|
|
"type": "address[]"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "string[]",
|
|
"name": "eventNames",
|
|
"type": "string[]"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "bytes[]",
|
|
"name": "eventParams",
|
|
"type": "bytes[]"
|
|
}
|
|
],
|
|
"name": "LogCast",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string[]",
|
|
"name": "_targetNames",
|
|
"type": "string[]"
|
|
},
|
|
{
|
|
"internalType": "bytes[]",
|
|
"name": "_datas",
|
|
"type": "bytes[]"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_origin",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "cast",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "connectorsM1",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"stateMutability": "payable",
|
|
"type": "receive"
|
|
}
|
|
],
|
|
"bytecode": "0x60c06040523480156200001157600080fd5b50604051620013d7380380620013d78339818101604052810190620000379190620000c8565b81818073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050505062000157565b600081519050620000c2816200013d565b92915050565b60008060408385031215620000dc57600080fd5b6000620000ec85828601620000b1565b9250506020620000ff85828601620000b1565b9150509250929050565b600062000116826200011d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620001488162000109565b81146200015457600080fd5b50565b60805160601c60a05160601c6112526200018560003980609652806102d152508061011552506112526000f3fe60806040526004361061002d5760003560e01c80636254a08f146100395780639304c9341461006457610034565b3661003457005b600080fd5b34801561004557600080fd5b5061004e610094565b60405161005b9190610d78565b60405180910390f35b61007e60048036038101906100799190610800565b6100b8565b60405161008b9190610db7565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b6000808686905090506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061016357507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6101a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161019990610df2565b60405180910390fd5b60008114156101e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101dd90610e32565b60405180910390fd5b84849050811461022b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161022290610dd2565b60405180910390fd5b60608167ffffffffffffffff8111801561024457600080fd5b5060405190808252806020026020018201604052801561027857816020015b60608152602001906001900390816102635790505b50905060608267ffffffffffffffff8111801561029457600080fd5b506040519080825280602002602001820160405280156102c857816020015b60608152602001906001900390816102b35790505b509050600060607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a0a32c0b8c8c6040518363ffffffff1660e01b815260040161032a929190610d93565b60006040518083038186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061037f9190610889565b91509150816103c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ba90610e52565b60405180910390fd5b60005b8581101561049457606061044d8383815181106103df57fe5b60200260200101518c8c858181106103f357fe5b90506020028101906104059190610ee3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610512565b9050610458816105d3565b87848151811061046457fe5b6020026020010187858151811061047757fe5b6020026020010182905282905250505080806001019150506103c6565b503373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167ff6d9b29bbf2ae698de33670961ec53f895af65801d2cdaced431cc6129865347348e8e868a8a6040516104fc96959493929190610e72565b60405180910390a3505050505095945050505050565b6060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b90610e12565b60405180910390fd5b600080835160208501865af43d6040519250601f19601f6020830101168301604052808352806000602085013e8115600181146105c0576105ca565b816000803e816000fd5b50505092915050565b6060806000835111156105fd57828060200190518101906105f491906108dd565b80925081935050505b915091565b600081359050610611816111ee565b92915050565b600081519050610626816111ee565b92915050565b600082601f83011261063d57600080fd5b815161065061064b82610f67565b610f3a565b9150818183526020840193506020810190508385602084028201111561067557600080fd5b60005b838110156106a5578161068b8882610617565b845260208401935060208301925050600181019050610678565b5050505092915050565b60008083601f8401126106c157600080fd5b8235905067ffffffffffffffff8111156106da57600080fd5b6020830191508360208202830111156106f257600080fd5b9250929050565b60008083601f84011261070b57600080fd5b8235905067ffffffffffffffff81111561072457600080fd5b60208301915083602082028301111561073c57600080fd5b9250929050565b60008151905061075281611205565b92915050565b600082601f83011261076957600080fd5b815161077c61077782610f8f565b610f3a565b9150808252602083016020830185838301111561079857600080fd5b6107a38382846111aa565b50505092915050565b600082601f8301126107bd57600080fd5b81516107d06107cb82610fbb565b610f3a565b915080825260208301602083018583830111156107ec57600080fd5b6107f78382846111aa565b50505092915050565b60008060008060006060868803121561081857600080fd5b600086013567ffffffffffffffff81111561083257600080fd5b61083e888289016106f9565b9550955050602086013567ffffffffffffffff81111561085d57600080fd5b610869888289016106af565b9350935050604061087c88828901610602565b9150509295509295909350565b6000806040838503121561089c57600080fd5b60006108aa85828601610743565b925050602083015167ffffffffffffffff8111156108c757600080fd5b6108d38582860161062c565b9150509250929050565b600080604083850312156108f057600080fd5b600083015167ffffffffffffffff81111561090a57600080fd5b610916858286016107ac565b925050602083015167ffffffffffffffff81111561093357600080fd5b61093f85828601610758565b9150509250929050565b6000610955838361099f565b60208301905092915050565b600061096d8383610b8a565b905092915050565b6000610982848484610bc3565b90509392505050565b60006109978383610bf0565b905092915050565b6109a881611149565b82525050565b6109b781611149565b82525050565b60006109c882611021565b6109d2818561108c565b93506109dd83610fe7565b8060005b83811015610a0e5781516109f58882610949565b9750610a0083611058565b9250506001810190506109e1565b5085935050505092915050565b6000610a268261102c565b610a30818561109d565b935083602082028501610a4285610ff7565b8060005b85811015610a7e5784840389528151610a5f8582610961565b9450610a6a83611065565b925060208a01995050600181019050610a46565b50829750879550505050505092915050565b6000610a9c83856110ae565b935083602084028501610aae84611007565b8060005b87811015610af4578484038952610ac982846110f2565b610ad4868284610975565b9550610adf84611072565b935060208b019a505050600181019050610ab2565b50829750879450505050509392505050565b6000610b1182611037565b610b1b81856110ae565b935083602082028501610b2d85611011565b8060005b85811015610b695784840389528151610b4a858261098b565b9450610b558361107f565b925060208a01995050600181019050610b31565b50829750879550505050505092915050565b610b8481611167565b82525050565b6000610b9582611042565b610b9f81856110bf565b9350610baf8185602086016111aa565b610bb8816111dd565b840191505092915050565b6000610bcf83856110d0565b9350610bdc83858461119b565b610be5836111dd565b840190509392505050565b6000610bfb8261104d565b610c0581856110d0565b9350610c158185602086016111aa565b610c1e816111dd565b840191505092915050565b6000610c366017836110e1565b91507f313a2061727261792d6c656e6774682d696e76616c69640000000000000000006000830152602082019050919050565b6000610c766014836110e1565b91507f313a207065726d697373696f6e2d64656e6965640000000000000000000000006000830152602082019050919050565b6000610cb6600e836110e1565b91507f7461726765742d696e76616c69640000000000000000000000000000000000006000830152602082019050919050565b6000610cf66011836110e1565b91507f313a206c656e6774682d696e76616c69640000000000000000000000000000006000830152602082019050919050565b6000610d366010836110e1565b91507f313a206e6f742d636f6e6e6563746f72000000000000000000000000000000006000830152602082019050919050565b610d7281611191565b82525050565b6000602082019050610d8d60008301846109ae565b92915050565b60006020820190508181036000830152610dae818486610a90565b90509392505050565b6000602082019050610dcc6000830184610b7b565b92915050565b60006020820190508181036000830152610deb81610c29565b9050919050565b60006020820190508181036000830152610e0b81610c69565b9050919050565b60006020820190508181036000830152610e2b81610ca9565b9050919050565b60006020820190508181036000830152610e4b81610ce9565b9050919050565b60006020820190508181036000830152610e6b81610d29565b9050919050565b600060a082019050610e876000830189610d69565b8181036020830152610e9a818789610a90565b90508181036040830152610eae81866109bd565b90508181036060830152610ec28185610b06565b90508181036080830152610ed68184610a1b565b9050979650505050505050565b60008083356001602003843603038112610efc57600080fd5b80840192508235915067ffffffffffffffff821115610f1a57600080fd5b602083019250600182023603831315610f3257600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff82111715610f5d57600080fd5b8060405250919050565b600067ffffffffffffffff821115610f7e57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115610fa657600080fd5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115610fd257600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000808335600160200384360303811261110b57600080fd5b83810192508235915060208301925067ffffffffffffffff82111561112f57600080fd5b60018202360384131561114157600080fd5b509250929050565b600061115482611171565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156111c85780820151818401526020810190506111ad565b838111156111d7576000848401525b50505050565b6000601f19601f8301169050919050565b6111f781611149565b811461120257600080fd5b50565b61120e8161115b565b811461121957600080fd5b5056fea26469706673582212207261907e2fb1fef3c7b82ab6034182542f204154597940e12488c405bbd9cd6a64736f6c63430007000033",
|
|
"deployedBytecode": "0x60806040526004361061002d5760003560e01c80636254a08f146100395780639304c9341461006457610034565b3661003457005b600080fd5b34801561004557600080fd5b5061004e610094565b60405161005b9190610d78565b60405180910390f35b61007e60048036038101906100799190610800565b6100b8565b60405161008b9190610db7565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b6000808686905090506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061016357507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6101a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161019990610df2565b60405180910390fd5b60008114156101e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101dd90610e32565b60405180910390fd5b84849050811461022b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161022290610dd2565b60405180910390fd5b60608167ffffffffffffffff8111801561024457600080fd5b5060405190808252806020026020018201604052801561027857816020015b60608152602001906001900390816102635790505b50905060608267ffffffffffffffff8111801561029457600080fd5b506040519080825280602002602001820160405280156102c857816020015b60608152602001906001900390816102b35790505b509050600060607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a0a32c0b8c8c6040518363ffffffff1660e01b815260040161032a929190610d93565b60006040518083038186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061037f9190610889565b91509150816103c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ba90610e52565b60405180910390fd5b60005b8581101561049457606061044d8383815181106103df57fe5b60200260200101518c8c858181106103f357fe5b90506020028101906104059190610ee3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610512565b9050610458816105d3565b87848151811061046457fe5b6020026020010187858151811061047757fe5b6020026020010182905282905250505080806001019150506103c6565b503373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167ff6d9b29bbf2ae698de33670961ec53f895af65801d2cdaced431cc6129865347348e8e868a8a6040516104fc96959493929190610e72565b60405180910390a3505050505095945050505050565b6060600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b90610e12565b60405180910390fd5b600080835160208501865af43d6040519250601f19601f6020830101168301604052808352806000602085013e8115600181146105c0576105ca565b816000803e816000fd5b50505092915050565b6060806000835111156105fd57828060200190518101906105f491906108dd565b80925081935050505b915091565b600081359050610611816111ee565b92915050565b600081519050610626816111ee565b92915050565b600082601f83011261063d57600080fd5b815161065061064b82610f67565b610f3a565b9150818183526020840193506020810190508385602084028201111561067557600080fd5b60005b838110156106a5578161068b8882610617565b845260208401935060208301925050600181019050610678565b5050505092915050565b60008083601f8401126106c157600080fd5b8235905067ffffffffffffffff8111156106da57600080fd5b6020830191508360208202830111156106f257600080fd5b9250929050565b60008083601f84011261070b57600080fd5b8235905067ffffffffffffffff81111561072457600080fd5b60208301915083602082028301111561073c57600080fd5b9250929050565b60008151905061075281611205565b92915050565b600082601f83011261076957600080fd5b815161077c61077782610f8f565b610f3a565b9150808252602083016020830185838301111561079857600080fd5b6107a38382846111aa565b50505092915050565b600082601f8301126107bd57600080fd5b81516107d06107cb82610fbb565b610f3a565b915080825260208301602083018583830111156107ec57600080fd5b6107f78382846111aa565b50505092915050565b60008060008060006060868803121561081857600080fd5b600086013567ffffffffffffffff81111561083257600080fd5b61083e888289016106f9565b9550955050602086013567ffffffffffffffff81111561085d57600080fd5b610869888289016106af565b9350935050604061087c88828901610602565b9150509295509295909350565b6000806040838503121561089c57600080fd5b60006108aa85828601610743565b925050602083015167ffffffffffffffff8111156108c757600080fd5b6108d38582860161062c565b9150509250929050565b600080604083850312156108f057600080fd5b600083015167ffffffffffffffff81111561090a57600080fd5b610916858286016107ac565b925050602083015167ffffffffffffffff81111561093357600080fd5b61093f85828601610758565b9150509250929050565b6000610955838361099f565b60208301905092915050565b600061096d8383610b8a565b905092915050565b6000610982848484610bc3565b90509392505050565b60006109978383610bf0565b905092915050565b6109a881611149565b82525050565b6109b781611149565b82525050565b60006109c882611021565b6109d2818561108c565b93506109dd83610fe7565b8060005b83811015610a0e5781516109f58882610949565b9750610a0083611058565b9250506001810190506109e1565b5085935050505092915050565b6000610a268261102c565b610a30818561109d565b935083602082028501610a4285610ff7565b8060005b85811015610a7e5784840389528151610a5f8582610961565b9450610a6a83611065565b925060208a01995050600181019050610a46565b50829750879550505050505092915050565b6000610a9c83856110ae565b935083602084028501610aae84611007565b8060005b87811015610af4578484038952610ac982846110f2565b610ad4868284610975565b9550610adf84611072565b935060208b019a505050600181019050610ab2565b50829750879450505050509392505050565b6000610b1182611037565b610b1b81856110ae565b935083602082028501610b2d85611011565b8060005b85811015610b695784840389528151610b4a858261098b565b9450610b558361107f565b925060208a01995050600181019050610b31565b50829750879550505050505092915050565b610b8481611167565b82525050565b6000610b9582611042565b610b9f81856110bf565b9350610baf8185602086016111aa565b610bb8816111dd565b840191505092915050565b6000610bcf83856110d0565b9350610bdc83858461119b565b610be5836111dd565b840190509392505050565b6000610bfb8261104d565b610c0581856110d0565b9350610c158185602086016111aa565b610c1e816111dd565b840191505092915050565b6000610c366017836110e1565b91507f313a2061727261792d6c656e6774682d696e76616c69640000000000000000006000830152602082019050919050565b6000610c766014836110e1565b91507f313a207065726d697373696f6e2d64656e6965640000000000000000000000006000830152602082019050919050565b6000610cb6600e836110e1565b91507f7461726765742d696e76616c69640000000000000000000000000000000000006000830152602082019050919050565b6000610cf66011836110e1565b91507f313a206c656e6774682d696e76616c69640000000000000000000000000000006000830152602082019050919050565b6000610d366010836110e1565b91507f313a206e6f742d636f6e6e6563746f72000000000000000000000000000000006000830152602082019050919050565b610d7281611191565b82525050565b6000602082019050610d8d60008301846109ae565b92915050565b60006020820190508181036000830152610dae818486610a90565b90509392505050565b6000602082019050610dcc6000830184610b7b565b92915050565b60006020820190508181036000830152610deb81610c29565b9050919050565b60006020820190508181036000830152610e0b81610c69565b9050919050565b60006020820190508181036000830152610e2b81610ca9565b9050919050565b60006020820190508181036000830152610e4b81610ce9565b9050919050565b60006020820190508181036000830152610e6b81610d29565b9050919050565b600060a082019050610e876000830189610d69565b8181036020830152610e9a818789610a90565b90508181036040830152610eae81866109bd565b90508181036060830152610ec28185610b06565b90508181036080830152610ed68184610a1b565b9050979650505050505050565b60008083356001602003843603038112610efc57600080fd5b80840192508235915067ffffffffffffffff821115610f1a57600080fd5b602083019250600182023603831315610f3257600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff82111715610f5d57600080fd5b8060405250919050565b600067ffffffffffffffff821115610f7e57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115610fa657600080fd5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115610fd257600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000808335600160200384360303811261110b57600080fd5b83810192508235915060208301925067ffffffffffffffff82111561112f57600080fd5b60018202360384131561114157600080fd5b509250929050565b600061115482611171565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156111c85780820151818401526020810190506111ad565b838111156111d7576000848401525b50505050565b6000601f19601f8301169050919050565b6111f781611149565b811461120257600080fd5b50565b61120e8161115b565b811461121957600080fd5b5056fea26469706673582212207261907e2fb1fef3c7b82ab6034182542f204154597940e12488c405bbd9cd6a64736f6c63430007000033",
|
|
"linkReferences": {},
|
|
"deployedLinkReferences": {}
|
|
}
|