dsa-connectors-2.0/deployements/mainnet/index.sol/InstaIndex.json

390 lines
41 KiB
JSON
Raw Normal View History

2024-01-13 23:34:33 +00:00
{
"_format": "hh-sol-artifact-1",
"contractName": "InstaIndex",
"sourceName": "contracts/registry/index.sol",
"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": "0x608060405234801561001057600080fd5b5061214b806100206000396000f3fe6080604052600436106100dd5760003560e01c80638aad29e11161007f578063cf1a0ddc11610059578063cf1a0ddc146102eb578063ee97f7f314610302578063f4ff78bf1461032d578063fdc3870c14610356576100dd565b80638aad29e11461025a578063a4bb8e7d14610285578063bb7e70ef146102ae576100dd565b8063443ff7b6116100bb578063443ff7b6146101875780634f5b2561146101b05780635f72f450146101e0578063743681891461021d576100dd565b80630f560cd7146100e257806313ede1a11461010d5780632dd7c6581461014a575b600080fd5b3480156100ee57600080fd5b506100f761037f565b6040516101049190611d3e565b60405180910390f35b34801561011957600080fd5b50610134600480360381019061012f9190611937565b6103a5565b6040516101419190611d3e565b60405180910390f35b34801561015657600080fd5b50610171600480360381019061016c9190611937565b6103d8565b60405161017e9190611d3e565b60405180910390f35b34801561019357600080fd5b506101ae60048036038101906101a99190611989565b61040b565b005b6101ca60048036038101906101c59190611846565b6105d7565b6040516101d79190611d3e565b60405180910390f35b3480156101ec57600080fd5b5061020760048036038101906102029190611937565b610698565b6040516102149190611d3e565b60405180910390f35b34801561022957600080fd5b50610244600480360381019061023f9190611989565b6106cb565b6040516102519190611dbd565b60405180910390f35b34801561026657600080fd5b5061026f610780565b60405161027c9190611ed8565b60405180910390f35b34801561029157600080fd5b506102ac60048036038101906102a79190611794565b610786565b005b3480156102ba57600080fd5b506102d560048036038101906102d091906117f7565b610a99565b6040516102e29190611d3e565b60405180910390f35b3480156102f757600080fd5b50610300610c72565b005b34801561030e57600080fd5b50610317610e99565b6040516103249190611d3e565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f919061171c565b610ebf565b005b34801561036257600080fd5b5061037d60048036038101906103789190611745565b611165565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461049b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049290611e98565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561053d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053490611e58565b60405180910390fd5b806004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827f1d96dda971e33be0980128bbce3f93dfe4859657397e00d2db4d288d2c2bc78860405160405180910390a35050565b60006105e4888884610a99565b9050600086869050111561068d578073ffffffffffffffffffffffffffffffffffffffff1663e0e90acf3488888888886040518763ffffffff1660e01b8152600401610634959493929190611d74565b6000604051808303818588803b15801561064d57600080fd5b505af1158015610661573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f8201168201806040525081019061068b91906118f6565b505b979650505050505050565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660601b90506040517f363d3d373d3d3d363d7300000000000000000000000000000000000000000000815281600a8201527f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000601e82015260408101602d600082873c600d810151600d83015114815183511416935050505092915050565b60065481565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff
"deployedBytecode": "0x6080604052600436106100dd5760003560e01c80638aad29e11161007f578063cf1a0ddc11610059578063cf1a0ddc146102eb578063ee97f7f314610302578063f4ff78bf1461032d578063fdc3870c14610356576100dd565b80638aad29e11461025a578063a4bb8e7d14610285578063bb7e70ef146102ae576100dd565b8063443ff7b6116100bb578063443ff7b6146101875780634f5b2561146101b05780635f72f450146101e0578063743681891461021d576100dd565b80630f560cd7146100e257806313ede1a11461010d5780632dd7c6581461014a575b600080fd5b3480156100ee57600080fd5b506100f761037f565b6040516101049190611d3e565b60405180910390f35b34801561011957600080fd5b50610134600480360381019061012f9190611937565b6103a5565b6040516101419190611d3e565b60405180910390f35b34801561015657600080fd5b50610171600480360381019061016c9190611937565b6103d8565b60405161017e9190611d3e565b60405180910390f35b34801561019357600080fd5b506101ae60048036038101906101a99190611989565b61040b565b005b6101ca60048036038101906101c59190611846565b6105d7565b6040516101d79190611d3e565b60405180910390f35b3480156101ec57600080fd5b5061020760048036038101906102029190611937565b610698565b6040516102149190611d3e565b60405180910390f35b34801561022957600080fd5b50610244600480360381019061023f9190611989565b6106cb565b6040516102519190611dbd565b60405180910390f35b34801561026657600080fd5b5061026f610780565b60405161027c9190611ed8565b60405180910390f35b34801561029157600080fd5b506102ac60048036038101906102a79190611794565b610786565b005b3480156102ba57600080fd5b506102d560048036038101906102d091906117f7565b610a99565b6040516102e29190611d3e565b60405180910390f35b3480156102f757600080fd5b50610300610c72565b005b34801561030e57600080fd5b50610317610e99565b6040516103249190611d3e565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f919061171c565b610ebf565b005b34801561036257600080fd5b5061037d60048036038101906103789190611745565b611165565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461049b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049290611e98565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561053d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053490611e58565b60405180910390fd5b806004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827f1d96dda971e33be0980128bbce3f93dfe4859657397e00d2db4d288d2c2bc78860405160405180910390a35050565b60006105e4888884610a99565b9050600086869050111561068d578073ffffffffffffffffffffffffffffffffffffffff1663e0e90acf3488888888886040518763ffffffff1660e01b8152600401610634959493929190611d74565b6000604051808303818588803b15801561064d57600080fd5b505af1158015610661573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f8201168201806040525081019061068b91906118f6565b505b979650505050505050565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660601b90506040517f363d3d373d3d3d363d7300000000000000000000000000000000000000000000815281600a8201527f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000601e82015260408101602d600082873c600d810151600d83015114815183511416935050505092915050565b60065481565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156108325750600073ffffffffffffffffffffffffffffffff
"linkReferences": {},
"deployedLinkReferences": {}
}