@ensuro/extensions
Version:
Extension contracts that operate with the Ensuro Protocol
60 lines (59 loc) • 5.67 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "PassportInspector",
"sourceName": "contracts/mock/PassportInspector.sol",
"abi": [
{
"inputs": [
{
"internalType": "contract IQuadReader",
"name": "reader",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "attribute",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "value",
"type": "bytes32"
}
],
"name": "PassportAttributes",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32[]",
"name": "_attributes",
"type": "bytes32[]"
}
],
"name": "getAttributesBulk",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5060405161049138038061049183398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103fe806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80635d79ed9b14610030575b600080fd5b61004361003e36600461016c565b610045565b005b60008054604051635d79ed9b60e01b81526001600160a01b0390911690635d79ed9b9061007a908790879087906004016101f4565b6000604051808303816000875af1158015610099573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526100c191908101906102ae565b905060005b8281101561014d577fba4fada0af75a40f1d3a2216549304bfec0991fd2ce4dce822a8b052fa3da7a88484838181106101015761010161038b565b9050602002013583838151811061011a5761011a61038b565b6020908102919091018101515160408051938452918301520160405180910390a180610145816103a1565b9150506100c6565b5050505050565b6001600160a01b038116811461016957600080fd5b50565b60008060006040848603121561018157600080fd5b833561018c81610154565b9250602084013567ffffffffffffffff808211156101a957600080fd5b818601915086601f8301126101bd57600080fd5b8135818111156101cc57600080fd5b8760208260051b85010111156101e157600080fd5b6020830194508093505050509250925092565b6001600160a01b0384168152604060208201819052810182905260006001600160fb1b0383111561022457600080fd5b8260051b8085606085013791909101606001949350505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156102775761027761023e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156102a6576102a661023e565b604052919050565b600060208083850312156102c157600080fd5b825167ffffffffffffffff808211156102d957600080fd5b818501915085601f8301126102ed57600080fd5b8151818111156102ff576102ff61023e565b61030d848260051b0161027d565b8181528481019250606091820284018501918883111561032c57600080fd5b938501935b8285101561037f5780858a0312156103495760008081fd5b610351610254565b85518152868601518782015260408087015161036c81610154565b9082015284529384019392850192610331565b50979650505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016103c157634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220071ec115715990f2b6ef4e201e846178d849ca3d2df8e2faa9317a3d6118676e64736f6c63430008100033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80635d79ed9b14610030575b600080fd5b61004361003e36600461016c565b610045565b005b60008054604051635d79ed9b60e01b81526001600160a01b0390911690635d79ed9b9061007a908790879087906004016101f4565b6000604051808303816000875af1158015610099573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526100c191908101906102ae565b905060005b8281101561014d577fba4fada0af75a40f1d3a2216549304bfec0991fd2ce4dce822a8b052fa3da7a88484838181106101015761010161038b565b9050602002013583838151811061011a5761011a61038b565b6020908102919091018101515160408051938452918301520160405180910390a180610145816103a1565b9150506100c6565b5050505050565b6001600160a01b038116811461016957600080fd5b50565b60008060006040848603121561018157600080fd5b833561018c81610154565b9250602084013567ffffffffffffffff808211156101a957600080fd5b818601915086601f8301126101bd57600080fd5b8135818111156101cc57600080fd5b8760208260051b85010111156101e157600080fd5b6020830194508093505050509250925092565b6001600160a01b0384168152604060208201819052810182905260006001600160fb1b0383111561022457600080fd5b8260051b8085606085013791909101606001949350505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156102775761027761023e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156102a6576102a661023e565b604052919050565b600060208083850312156102c157600080fd5b825167ffffffffffffffff808211156102d957600080fd5b818501915085601f8301126102ed57600080fd5b8151818111156102ff576102ff61023e565b61030d848260051b0161027d565b8181528481019250606091820284018501918883111561032c57600080fd5b938501935b8285101561037f5780858a0312156103495760008081fd5b610351610254565b85518152868601518782015260408087015161036c81610154565b9082015284529384019392850192610331565b50979650505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016103c157634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220071ec115715990f2b6ef4e201e846178d849ca3d2df8e2faa9317a3d6118676e64736f6c63430008100033",
"linkReferences": {},
"deployedLinkReferences": {}
}