@rocketh/diamond 0.17.10 → 0.17.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3187 @@
1
+ export default {
2
+ contractName: 'DiamondLoupeFacet',
3
+ sourceName: 'solc_0.8/diamond/facets/DiamondLoupeFacet.sol',
4
+ abi: [
5
+ {
6
+ inputs: [
7
+ {
8
+ internalType: 'bytes4',
9
+ name: '_functionSelector',
10
+ type: 'bytes4',
11
+ },
12
+ ],
13
+ name: 'facetAddress',
14
+ outputs: [
15
+ {
16
+ internalType: 'address',
17
+ name: 'facetAddress_',
18
+ type: 'address',
19
+ },
20
+ ],
21
+ stateMutability: 'view',
22
+ type: 'function',
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: 'facetAddresses',
27
+ outputs: [
28
+ {
29
+ internalType: 'address[]',
30
+ name: 'facetAddresses_',
31
+ type: 'address[]',
32
+ },
33
+ ],
34
+ stateMutability: 'view',
35
+ type: 'function',
36
+ },
37
+ {
38
+ inputs: [
39
+ {
40
+ internalType: 'address',
41
+ name: '_facet',
42
+ type: 'address',
43
+ },
44
+ ],
45
+ name: 'facetFunctionSelectors',
46
+ outputs: [
47
+ {
48
+ internalType: 'bytes4[]',
49
+ name: 'facetFunctionSelectors_',
50
+ type: 'bytes4[]',
51
+ },
52
+ ],
53
+ stateMutability: 'view',
54
+ type: 'function',
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: 'facets',
59
+ outputs: [
60
+ {
61
+ components: [
62
+ {
63
+ internalType: 'address',
64
+ name: 'facetAddress',
65
+ type: 'address',
66
+ },
67
+ {
68
+ internalType: 'bytes4[]',
69
+ name: 'functionSelectors',
70
+ type: 'bytes4[]',
71
+ },
72
+ ],
73
+ internalType: 'struct IDiamondLoupe.Facet[]',
74
+ name: 'facets_',
75
+ type: 'tuple[]',
76
+ },
77
+ ],
78
+ stateMutability: 'view',
79
+ type: 'function',
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: 'bytes4',
85
+ name: '_interfaceId',
86
+ type: 'bytes4',
87
+ },
88
+ ],
89
+ name: 'supportsInterface',
90
+ outputs: [
91
+ {
92
+ internalType: 'bool',
93
+ name: '',
94
+ type: 'bool',
95
+ },
96
+ ],
97
+ stateMutability: 'view',
98
+ type: 'function',
99
+ },
100
+ ],
101
+ bytecode:
102
+ '0x608060405234801561001057600080fd5b5061084e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100fa578063adfca15e1461010f578063cdffacc61461012f57600080fd5b806301ffc9a71461006c57806352ef6b2c146100e5575b600080fd5b6100d061007a366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101cb565b6040516100dc91906105b2565b61010261025d565b6040516100dc9190610669565b61012261011d366004610711565b610469565b6040516100dc9190610747565b6101a661013d366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b606060007fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6002810180546040805160208084028201810190925282815293945083018282801561025257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610227575b505050505091505090565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546060907fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c908067ffffffffffffffff8111156102bd576102bd61075a565b60405190808252806020026020018201604052801561030357816020015b6040805180820190915260008152606060208201528152602001906001900390816102db5790505b50925060005b8181101561046357600083600201828154811061032857610328610789565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061036857610368610789565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561042957602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103d65790505b505050505085838151811061044057610440610789565b60200260200101516020018190525050808061045b906107b8565b915050610309565b50505090565b73ffffffffffffffffffffffffffffffffffffffff811660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d602090815260409182902080548351818402810184019094528084526060937fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092919083018282801561055c57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116105095790505b5050505050915050919050565b60006020828403121561057b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105ab57600080fd5b9392505050565b6020808252825182820181905260009190848201906040850190845b8181101561060057835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105ce565b50909695505050505050565b600081518084526020808501945080840160005b8381101561065e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610620565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610703578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106f08785018261060c565b9588019593505090860190600101610690565b509098975050505050505050565b60006020828403121561072357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146105ab57600080fd5b6020815260006105ab602083018461060c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610811577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea2646970667358221220d2f6c23b0c64effd7424eb9da8e13cc0a62fab9990643ce1a7bc54f830cc768464736f6c634300080a0033',
103
+ deployedBytecode:
104
+ '0x608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100fa578063adfca15e1461010f578063cdffacc61461012f57600080fd5b806301ffc9a71461006c57806352ef6b2c146100e5575b600080fd5b6100d061007a366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101cb565b6040516100dc91906105b2565b61010261025d565b6040516100dc9190610669565b61012261011d366004610711565b610469565b6040516100dc9190610747565b6101a661013d366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b606060007fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6002810180546040805160208084028201810190925282815293945083018282801561025257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610227575b505050505091505090565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546060907fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c908067ffffffffffffffff8111156102bd576102bd61075a565b60405190808252806020026020018201604052801561030357816020015b6040805180820190915260008152606060208201528152602001906001900390816102db5790505b50925060005b8181101561046357600083600201828154811061032857610328610789565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061036857610368610789565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561042957602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103d65790505b505050505085838151811061044057610440610789565b60200260200101516020018190525050808061045b906107b8565b915050610309565b50505090565b73ffffffffffffffffffffffffffffffffffffffff811660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d602090815260409182902080548351818402810184019094528084526060937fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092919083018282801561055c57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116105095790505b5050505050915050919050565b60006020828403121561057b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105ab57600080fd5b9392505050565b6020808252825182820181905260009190848201906040850190845b8181101561060057835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105ce565b50909695505050505050565b600081518084526020808501945080840160005b8381101561065e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610620565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610703578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106f08785018261060c565b9588019593505090860190600101610690565b509098975050505050505050565b60006020828403121561072357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146105ab57600080fd5b6020815260006105ab602083018461060c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610811577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea2646970667358221220d2f6c23b0c64effd7424eb9da8e13cc0a62fab9990643ce1a7bc54f830cc768464736f6c634300080a0033',
105
+ linkReferences: {},
106
+ deployedLinkReferences: {},
107
+ devdoc: {
108
+ kind: 'dev',
109
+ methods: {
110
+ 'facetAddress(bytes4)': {
111
+ details: 'If facet is not found return address(0).',
112
+ params: {
113
+ _functionSelector: 'The function selector.',
114
+ },
115
+ returns: {
116
+ facetAddress_: 'The facet address.',
117
+ },
118
+ },
119
+ 'facetAddresses()': {
120
+ returns: {
121
+ facetAddresses_: 'facetAddresses_',
122
+ },
123
+ },
124
+ 'facetFunctionSelectors(address)': {
125
+ params: {
126
+ _facet: 'The facet address.',
127
+ },
128
+ returns: {
129
+ facetFunctionSelectors_: 'facetFunctionSelectors_',
130
+ },
131
+ },
132
+ 'facets()': {
133
+ returns: {
134
+ facets_: 'Facet',
135
+ },
136
+ },
137
+ },
138
+ version: 1,
139
+ },
140
+ evm: {
141
+ bytecode: {
142
+ functionDebugData: {},
143
+ generatedSources: [],
144
+ linkReferences: {},
145
+ opcodes:
146
+ 'PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x84E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xFA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0x12F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0xE5 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD0 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xED PUSH2 0x1CB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x102 PUSH2 0x25D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x669 JUMP JUMPDEST PUSH2 0x122 PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0x711 JUMP JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x1A6 PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDC JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x252 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x227 JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131E SLOAD PUSH1 0x60 SWAP1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BD JUMPI PUSH2 0x2BD PUSH2 0x75A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x303 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2DB JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x463 JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x328 JUMPI PUSH2 0x328 PUSH2 0x789 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x368 JUMPI PUSH2 0x368 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x429 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3D6 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x440 JUMPI PUSH2 0x440 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD DUP2 SWAP1 MSTORE POP POP DUP1 DUP1 PUSH2 0x45B SWAP1 PUSH2 0x7B8 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x309 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131D PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE PUSH1 0x60 SWAP4 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x509 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x57B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x600 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5CE JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x65E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x620 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD DUP5 DUP9 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x703 JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6F0 DUP8 DUP6 ADD DUP3 PUSH2 0x60C JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x690 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x723 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x5AB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x60C JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x811 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD2 0xF6 0xC2 EXTCODESIZE 0xC PUSH5 0xEFFD7424EB SWAP14 0xA8 0xE1 EXTCODECOPY 0xC0 0xA6 0x2F 0xAB SWAP10 SWAP1 PUSH5 0x3CE1A7BC54 0xF8 ADDRESS 0xCC PUSH23 0x8464736F6C634300080A00330000000000000000000000 ',
147
+ sourceMap: '539:2484:3:-:0;;;;;;;;;;;;;;;;;;;',
148
+ },
149
+ deployedBytecode: {
150
+ functionDebugData: {
151
+ '@diamondStorage_809': {
152
+ entryPoint: null,
153
+ id: 809,
154
+ parameterSlots: 0,
155
+ returnSlots: 1,
156
+ },
157
+ '@facetAddress_339': {
158
+ entryPoint: null,
159
+ id: 339,
160
+ parameterSlots: 1,
161
+ returnSlots: 1,
162
+ },
163
+ '@facetAddresses_312': {
164
+ entryPoint: 459,
165
+ id: 312,
166
+ parameterSlots: 0,
167
+ returnSlots: 1,
168
+ },
169
+ '@facetFunctionSelectors_289': {
170
+ entryPoint: 1129,
171
+ id: 289,
172
+ parameterSlots: 1,
173
+ returnSlots: 1,
174
+ },
175
+ '@facets_261': {
176
+ entryPoint: 605,
177
+ id: 261,
178
+ parameterSlots: 0,
179
+ returnSlots: 1,
180
+ },
181
+ '@supportsInterface_362': {
182
+ entryPoint: null,
183
+ id: 362,
184
+ parameterSlots: 1,
185
+ returnSlots: 1,
186
+ },
187
+ abi_decode_tuple_t_address: {
188
+ entryPoint: 1809,
189
+ id: null,
190
+ parameterSlots: 2,
191
+ returnSlots: 1,
192
+ },
193
+ abi_decode_tuple_t_bytes4: {
194
+ entryPoint: 1385,
195
+ id: null,
196
+ parameterSlots: 2,
197
+ returnSlots: 1,
198
+ },
199
+ abi_encode_array_bytes4_dyn: {
200
+ entryPoint: 1548,
201
+ id: null,
202
+ parameterSlots: 2,
203
+ returnSlots: 1,
204
+ },
205
+ abi_encode_tuple_t_address__to_t_address__fromStack_reversed: {
206
+ entryPoint: null,
207
+ id: null,
208
+ parameterSlots: 2,
209
+ returnSlots: 1,
210
+ },
211
+ abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed:
212
+ {
213
+ entryPoint: 1458,
214
+ id: null,
215
+ parameterSlots: 2,
216
+ returnSlots: 1,
217
+ },
218
+ abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed: {
219
+ entryPoint: 1863,
220
+ id: null,
221
+ parameterSlots: 2,
222
+ returnSlots: 1,
223
+ },
224
+ abi_encode_tuple_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__fromStack_reversed:
225
+ {
226
+ entryPoint: 1641,
227
+ id: null,
228
+ parameterSlots: 2,
229
+ returnSlots: 1,
230
+ },
231
+ abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed: {
232
+ entryPoint: null,
233
+ id: null,
234
+ parameterSlots: 2,
235
+ returnSlots: 1,
236
+ },
237
+ increment_t_uint256: {
238
+ entryPoint: 1976,
239
+ id: null,
240
+ parameterSlots: 1,
241
+ returnSlots: 1,
242
+ },
243
+ panic_error_0x32: {
244
+ entryPoint: 1929,
245
+ id: null,
246
+ parameterSlots: 0,
247
+ returnSlots: 0,
248
+ },
249
+ panic_error_0x41: {
250
+ entryPoint: 1882,
251
+ id: null,
252
+ parameterSlots: 0,
253
+ returnSlots: 0,
254
+ },
255
+ },
256
+ generatedSources: [
257
+ {
258
+ ast: {
259
+ nodeType: 'YulBlock',
260
+ src: '0:4422:12',
261
+ statements: [
262
+ {
263
+ nodeType: 'YulBlock',
264
+ src: '6:3:12',
265
+ statements: [],
266
+ },
267
+ {
268
+ body: {
269
+ nodeType: 'YulBlock',
270
+ src: '83:263:12',
271
+ statements: [
272
+ {
273
+ body: {
274
+ nodeType: 'YulBlock',
275
+ src: '129:16:12',
276
+ statements: [
277
+ {
278
+ expression: {
279
+ arguments: [
280
+ {
281
+ kind: 'number',
282
+ nodeType: 'YulLiteral',
283
+ src: '138:1:12',
284
+ type: '',
285
+ value: '0',
286
+ },
287
+ {
288
+ kind: 'number',
289
+ nodeType: 'YulLiteral',
290
+ src: '141:1:12',
291
+ type: '',
292
+ value: '0',
293
+ },
294
+ ],
295
+ functionName: {
296
+ name: 'revert',
297
+ nodeType: 'YulIdentifier',
298
+ src: '131:6:12',
299
+ },
300
+ nodeType: 'YulFunctionCall',
301
+ src: '131:12:12',
302
+ },
303
+ nodeType: 'YulExpressionStatement',
304
+ src: '131:12:12',
305
+ },
306
+ ],
307
+ },
308
+ condition: {
309
+ arguments: [
310
+ {
311
+ arguments: [
312
+ {
313
+ name: 'dataEnd',
314
+ nodeType: 'YulIdentifier',
315
+ src: '104:7:12',
316
+ },
317
+ {
318
+ name: 'headStart',
319
+ nodeType: 'YulIdentifier',
320
+ src: '113:9:12',
321
+ },
322
+ ],
323
+ functionName: {
324
+ name: 'sub',
325
+ nodeType: 'YulIdentifier',
326
+ src: '100:3:12',
327
+ },
328
+ nodeType: 'YulFunctionCall',
329
+ src: '100:23:12',
330
+ },
331
+ {
332
+ kind: 'number',
333
+ nodeType: 'YulLiteral',
334
+ src: '125:2:12',
335
+ type: '',
336
+ value: '32',
337
+ },
338
+ ],
339
+ functionName: {
340
+ name: 'slt',
341
+ nodeType: 'YulIdentifier',
342
+ src: '96:3:12',
343
+ },
344
+ nodeType: 'YulFunctionCall',
345
+ src: '96:32:12',
346
+ },
347
+ nodeType: 'YulIf',
348
+ src: '93:52:12',
349
+ },
350
+ {
351
+ nodeType: 'YulVariableDeclaration',
352
+ src: '154:36:12',
353
+ value: {
354
+ arguments: [
355
+ {
356
+ name: 'headStart',
357
+ nodeType: 'YulIdentifier',
358
+ src: '180:9:12',
359
+ },
360
+ ],
361
+ functionName: {
362
+ name: 'calldataload',
363
+ nodeType: 'YulIdentifier',
364
+ src: '167:12:12',
365
+ },
366
+ nodeType: 'YulFunctionCall',
367
+ src: '167:23:12',
368
+ },
369
+ variables: [
370
+ {
371
+ name: 'value',
372
+ nodeType: 'YulTypedName',
373
+ src: '158:5:12',
374
+ type: '',
375
+ },
376
+ ],
377
+ },
378
+ {
379
+ body: {
380
+ nodeType: 'YulBlock',
381
+ src: '300:16:12',
382
+ statements: [
383
+ {
384
+ expression: {
385
+ arguments: [
386
+ {
387
+ kind: 'number',
388
+ nodeType: 'YulLiteral',
389
+ src: '309:1:12',
390
+ type: '',
391
+ value: '0',
392
+ },
393
+ {
394
+ kind: 'number',
395
+ nodeType: 'YulLiteral',
396
+ src: '312:1:12',
397
+ type: '',
398
+ value: '0',
399
+ },
400
+ ],
401
+ functionName: {
402
+ name: 'revert',
403
+ nodeType: 'YulIdentifier',
404
+ src: '302:6:12',
405
+ },
406
+ nodeType: 'YulFunctionCall',
407
+ src: '302:12:12',
408
+ },
409
+ nodeType: 'YulExpressionStatement',
410
+ src: '302:12:12',
411
+ },
412
+ ],
413
+ },
414
+ condition: {
415
+ arguments: [
416
+ {
417
+ arguments: [
418
+ {
419
+ name: 'value',
420
+ nodeType: 'YulIdentifier',
421
+ src: '212:5:12',
422
+ },
423
+ {
424
+ arguments: [
425
+ {
426
+ name: 'value',
427
+ nodeType: 'YulIdentifier',
428
+ src: '223:5:12',
429
+ },
430
+ {
431
+ kind: 'number',
432
+ nodeType: 'YulLiteral',
433
+ src: '230:66:12',
434
+ type: '',
435
+ value: '0xffffffff00000000000000000000000000000000000000000000000000000000',
436
+ },
437
+ ],
438
+ functionName: {
439
+ name: 'and',
440
+ nodeType: 'YulIdentifier',
441
+ src: '219:3:12',
442
+ },
443
+ nodeType: 'YulFunctionCall',
444
+ src: '219:78:12',
445
+ },
446
+ ],
447
+ functionName: {
448
+ name: 'eq',
449
+ nodeType: 'YulIdentifier',
450
+ src: '209:2:12',
451
+ },
452
+ nodeType: 'YulFunctionCall',
453
+ src: '209:89:12',
454
+ },
455
+ ],
456
+ functionName: {
457
+ name: 'iszero',
458
+ nodeType: 'YulIdentifier',
459
+ src: '202:6:12',
460
+ },
461
+ nodeType: 'YulFunctionCall',
462
+ src: '202:97:12',
463
+ },
464
+ nodeType: 'YulIf',
465
+ src: '199:117:12',
466
+ },
467
+ {
468
+ nodeType: 'YulAssignment',
469
+ src: '325:15:12',
470
+ value: {
471
+ name: 'value',
472
+ nodeType: 'YulIdentifier',
473
+ src: '335:5:12',
474
+ },
475
+ variableNames: [
476
+ {
477
+ name: 'value0',
478
+ nodeType: 'YulIdentifier',
479
+ src: '325:6:12',
480
+ },
481
+ ],
482
+ },
483
+ ],
484
+ },
485
+ name: 'abi_decode_tuple_t_bytes4',
486
+ nodeType: 'YulFunctionDefinition',
487
+ parameters: [
488
+ {
489
+ name: 'headStart',
490
+ nodeType: 'YulTypedName',
491
+ src: '49:9:12',
492
+ type: '',
493
+ },
494
+ {
495
+ name: 'dataEnd',
496
+ nodeType: 'YulTypedName',
497
+ src: '60:7:12',
498
+ type: '',
499
+ },
500
+ ],
501
+ returnVariables: [
502
+ {
503
+ name: 'value0',
504
+ nodeType: 'YulTypedName',
505
+ src: '72:6:12',
506
+ type: '',
507
+ },
508
+ ],
509
+ src: '14:332:12',
510
+ },
511
+ {
512
+ body: {
513
+ nodeType: 'YulBlock',
514
+ src: '446:92:12',
515
+ statements: [
516
+ {
517
+ nodeType: 'YulAssignment',
518
+ src: '456:26:12',
519
+ value: {
520
+ arguments: [
521
+ {
522
+ name: 'headStart',
523
+ nodeType: 'YulIdentifier',
524
+ src: '468:9:12',
525
+ },
526
+ {
527
+ kind: 'number',
528
+ nodeType: 'YulLiteral',
529
+ src: '479:2:12',
530
+ type: '',
531
+ value: '32',
532
+ },
533
+ ],
534
+ functionName: {
535
+ name: 'add',
536
+ nodeType: 'YulIdentifier',
537
+ src: '464:3:12',
538
+ },
539
+ nodeType: 'YulFunctionCall',
540
+ src: '464:18:12',
541
+ },
542
+ variableNames: [
543
+ {
544
+ name: 'tail',
545
+ nodeType: 'YulIdentifier',
546
+ src: '456:4:12',
547
+ },
548
+ ],
549
+ },
550
+ {
551
+ expression: {
552
+ arguments: [
553
+ {
554
+ name: 'headStart',
555
+ nodeType: 'YulIdentifier',
556
+ src: '498:9:12',
557
+ },
558
+ {
559
+ arguments: [
560
+ {
561
+ arguments: [
562
+ {
563
+ name: 'value0',
564
+ nodeType: 'YulIdentifier',
565
+ src: '523:6:12',
566
+ },
567
+ ],
568
+ functionName: {
569
+ name: 'iszero',
570
+ nodeType: 'YulIdentifier',
571
+ src: '516:6:12',
572
+ },
573
+ nodeType: 'YulFunctionCall',
574
+ src: '516:14:12',
575
+ },
576
+ ],
577
+ functionName: {
578
+ name: 'iszero',
579
+ nodeType: 'YulIdentifier',
580
+ src: '509:6:12',
581
+ },
582
+ nodeType: 'YulFunctionCall',
583
+ src: '509:22:12',
584
+ },
585
+ ],
586
+ functionName: {
587
+ name: 'mstore',
588
+ nodeType: 'YulIdentifier',
589
+ src: '491:6:12',
590
+ },
591
+ nodeType: 'YulFunctionCall',
592
+ src: '491:41:12',
593
+ },
594
+ nodeType: 'YulExpressionStatement',
595
+ src: '491:41:12',
596
+ },
597
+ ],
598
+ },
599
+ name: 'abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed',
600
+ nodeType: 'YulFunctionDefinition',
601
+ parameters: [
602
+ {
603
+ name: 'headStart',
604
+ nodeType: 'YulTypedName',
605
+ src: '415:9:12',
606
+ type: '',
607
+ },
608
+ {
609
+ name: 'value0',
610
+ nodeType: 'YulTypedName',
611
+ src: '426:6:12',
612
+ type: '',
613
+ },
614
+ ],
615
+ returnVariables: [
616
+ {
617
+ name: 'tail',
618
+ nodeType: 'YulTypedName',
619
+ src: '437:4:12',
620
+ type: '',
621
+ },
622
+ ],
623
+ src: '351:187:12',
624
+ },
625
+ {
626
+ body: {
627
+ nodeType: 'YulBlock',
628
+ src: '694:530:12',
629
+ statements: [
630
+ {
631
+ nodeType: 'YulVariableDeclaration',
632
+ src: '704:12:12',
633
+ value: {
634
+ kind: 'number',
635
+ nodeType: 'YulLiteral',
636
+ src: '714:2:12',
637
+ type: '',
638
+ value: '32',
639
+ },
640
+ variables: [
641
+ {
642
+ name: '_1',
643
+ nodeType: 'YulTypedName',
644
+ src: '708:2:12',
645
+ type: '',
646
+ },
647
+ ],
648
+ },
649
+ {
650
+ nodeType: 'YulVariableDeclaration',
651
+ src: '725:32:12',
652
+ value: {
653
+ arguments: [
654
+ {
655
+ name: 'headStart',
656
+ nodeType: 'YulIdentifier',
657
+ src: '743:9:12',
658
+ },
659
+ {
660
+ name: '_1',
661
+ nodeType: 'YulIdentifier',
662
+ src: '754:2:12',
663
+ },
664
+ ],
665
+ functionName: {
666
+ name: 'add',
667
+ nodeType: 'YulIdentifier',
668
+ src: '739:3:12',
669
+ },
670
+ nodeType: 'YulFunctionCall',
671
+ src: '739:18:12',
672
+ },
673
+ variables: [
674
+ {
675
+ name: 'tail_1',
676
+ nodeType: 'YulTypedName',
677
+ src: '729:6:12',
678
+ type: '',
679
+ },
680
+ ],
681
+ },
682
+ {
683
+ expression: {
684
+ arguments: [
685
+ {
686
+ name: 'headStart',
687
+ nodeType: 'YulIdentifier',
688
+ src: '773:9:12',
689
+ },
690
+ {
691
+ name: '_1',
692
+ nodeType: 'YulIdentifier',
693
+ src: '784:2:12',
694
+ },
695
+ ],
696
+ functionName: {
697
+ name: 'mstore',
698
+ nodeType: 'YulIdentifier',
699
+ src: '766:6:12',
700
+ },
701
+ nodeType: 'YulFunctionCall',
702
+ src: '766:21:12',
703
+ },
704
+ nodeType: 'YulExpressionStatement',
705
+ src: '766:21:12',
706
+ },
707
+ {
708
+ nodeType: 'YulVariableDeclaration',
709
+ src: '796:17:12',
710
+ value: {
711
+ name: 'tail_1',
712
+ nodeType: 'YulIdentifier',
713
+ src: '807:6:12',
714
+ },
715
+ variables: [
716
+ {
717
+ name: 'pos',
718
+ nodeType: 'YulTypedName',
719
+ src: '800:3:12',
720
+ type: '',
721
+ },
722
+ ],
723
+ },
724
+ {
725
+ nodeType: 'YulVariableDeclaration',
726
+ src: '822:27:12',
727
+ value: {
728
+ arguments: [
729
+ {
730
+ name: 'value0',
731
+ nodeType: 'YulIdentifier',
732
+ src: '842:6:12',
733
+ },
734
+ ],
735
+ functionName: {
736
+ name: 'mload',
737
+ nodeType: 'YulIdentifier',
738
+ src: '836:5:12',
739
+ },
740
+ nodeType: 'YulFunctionCall',
741
+ src: '836:13:12',
742
+ },
743
+ variables: [
744
+ {
745
+ name: 'length',
746
+ nodeType: 'YulTypedName',
747
+ src: '826:6:12',
748
+ type: '',
749
+ },
750
+ ],
751
+ },
752
+ {
753
+ expression: {
754
+ arguments: [
755
+ {
756
+ name: 'tail_1',
757
+ nodeType: 'YulIdentifier',
758
+ src: '865:6:12',
759
+ },
760
+ {
761
+ name: 'length',
762
+ nodeType: 'YulIdentifier',
763
+ src: '873:6:12',
764
+ },
765
+ ],
766
+ functionName: {
767
+ name: 'mstore',
768
+ nodeType: 'YulIdentifier',
769
+ src: '858:6:12',
770
+ },
771
+ nodeType: 'YulFunctionCall',
772
+ src: '858:22:12',
773
+ },
774
+ nodeType: 'YulExpressionStatement',
775
+ src: '858:22:12',
776
+ },
777
+ {
778
+ nodeType: 'YulAssignment',
779
+ src: '889:25:12',
780
+ value: {
781
+ arguments: [
782
+ {
783
+ name: 'headStart',
784
+ nodeType: 'YulIdentifier',
785
+ src: '900:9:12',
786
+ },
787
+ {
788
+ kind: 'number',
789
+ nodeType: 'YulLiteral',
790
+ src: '911:2:12',
791
+ type: '',
792
+ value: '64',
793
+ },
794
+ ],
795
+ functionName: {
796
+ name: 'add',
797
+ nodeType: 'YulIdentifier',
798
+ src: '896:3:12',
799
+ },
800
+ nodeType: 'YulFunctionCall',
801
+ src: '896:18:12',
802
+ },
803
+ variableNames: [
804
+ {
805
+ name: 'pos',
806
+ nodeType: 'YulIdentifier',
807
+ src: '889:3:12',
808
+ },
809
+ ],
810
+ },
811
+ {
812
+ nodeType: 'YulVariableDeclaration',
813
+ src: '923:29:12',
814
+ value: {
815
+ arguments: [
816
+ {
817
+ name: 'value0',
818
+ nodeType: 'YulIdentifier',
819
+ src: '941:6:12',
820
+ },
821
+ {
822
+ name: '_1',
823
+ nodeType: 'YulIdentifier',
824
+ src: '949:2:12',
825
+ },
826
+ ],
827
+ functionName: {
828
+ name: 'add',
829
+ nodeType: 'YulIdentifier',
830
+ src: '937:3:12',
831
+ },
832
+ nodeType: 'YulFunctionCall',
833
+ src: '937:15:12',
834
+ },
835
+ variables: [
836
+ {
837
+ name: 'srcPtr',
838
+ nodeType: 'YulTypedName',
839
+ src: '927:6:12',
840
+ type: '',
841
+ },
842
+ ],
843
+ },
844
+ {
845
+ nodeType: 'YulVariableDeclaration',
846
+ src: '961:10:12',
847
+ value: {
848
+ kind: 'number',
849
+ nodeType: 'YulLiteral',
850
+ src: '970:1:12',
851
+ type: '',
852
+ value: '0',
853
+ },
854
+ variables: [
855
+ {
856
+ name: 'i',
857
+ nodeType: 'YulTypedName',
858
+ src: '965:1:12',
859
+ type: '',
860
+ },
861
+ ],
862
+ },
863
+ {
864
+ body: {
865
+ nodeType: 'YulBlock',
866
+ src: '1029:169:12',
867
+ statements: [
868
+ {
869
+ expression: {
870
+ arguments: [
871
+ {
872
+ name: 'pos',
873
+ nodeType: 'YulIdentifier',
874
+ src: '1050:3:12',
875
+ },
876
+ {
877
+ arguments: [
878
+ {
879
+ arguments: [
880
+ {
881
+ name: 'srcPtr',
882
+ nodeType: 'YulIdentifier',
883
+ src: '1065:6:12',
884
+ },
885
+ ],
886
+ functionName: {
887
+ name: 'mload',
888
+ nodeType: 'YulIdentifier',
889
+ src: '1059:5:12',
890
+ },
891
+ nodeType: 'YulFunctionCall',
892
+ src: '1059:13:12',
893
+ },
894
+ {
895
+ kind: 'number',
896
+ nodeType: 'YulLiteral',
897
+ src: '1074:42:12',
898
+ type: '',
899
+ value: '0xffffffffffffffffffffffffffffffffffffffff',
900
+ },
901
+ ],
902
+ functionName: {
903
+ name: 'and',
904
+ nodeType: 'YulIdentifier',
905
+ src: '1055:3:12',
906
+ },
907
+ nodeType: 'YulFunctionCall',
908
+ src: '1055:62:12',
909
+ },
910
+ ],
911
+ functionName: {
912
+ name: 'mstore',
913
+ nodeType: 'YulIdentifier',
914
+ src: '1043:6:12',
915
+ },
916
+ nodeType: 'YulFunctionCall',
917
+ src: '1043:75:12',
918
+ },
919
+ nodeType: 'YulExpressionStatement',
920
+ src: '1043:75:12',
921
+ },
922
+ {
923
+ nodeType: 'YulAssignment',
924
+ src: '1131:19:12',
925
+ value: {
926
+ arguments: [
927
+ {
928
+ name: 'pos',
929
+ nodeType: 'YulIdentifier',
930
+ src: '1142:3:12',
931
+ },
932
+ {
933
+ name: '_1',
934
+ nodeType: 'YulIdentifier',
935
+ src: '1147:2:12',
936
+ },
937
+ ],
938
+ functionName: {
939
+ name: 'add',
940
+ nodeType: 'YulIdentifier',
941
+ src: '1138:3:12',
942
+ },
943
+ nodeType: 'YulFunctionCall',
944
+ src: '1138:12:12',
945
+ },
946
+ variableNames: [
947
+ {
948
+ name: 'pos',
949
+ nodeType: 'YulIdentifier',
950
+ src: '1131:3:12',
951
+ },
952
+ ],
953
+ },
954
+ {
955
+ nodeType: 'YulAssignment',
956
+ src: '1163:25:12',
957
+ value: {
958
+ arguments: [
959
+ {
960
+ name: 'srcPtr',
961
+ nodeType: 'YulIdentifier',
962
+ src: '1177:6:12',
963
+ },
964
+ {
965
+ name: '_1',
966
+ nodeType: 'YulIdentifier',
967
+ src: '1185:2:12',
968
+ },
969
+ ],
970
+ functionName: {
971
+ name: 'add',
972
+ nodeType: 'YulIdentifier',
973
+ src: '1173:3:12',
974
+ },
975
+ nodeType: 'YulFunctionCall',
976
+ src: '1173:15:12',
977
+ },
978
+ variableNames: [
979
+ {
980
+ name: 'srcPtr',
981
+ nodeType: 'YulIdentifier',
982
+ src: '1163:6:12',
983
+ },
984
+ ],
985
+ },
986
+ ],
987
+ },
988
+ condition: {
989
+ arguments: [
990
+ {
991
+ name: 'i',
992
+ nodeType: 'YulIdentifier',
993
+ src: '991:1:12',
994
+ },
995
+ {
996
+ name: 'length',
997
+ nodeType: 'YulIdentifier',
998
+ src: '994:6:12',
999
+ },
1000
+ ],
1001
+ functionName: {
1002
+ name: 'lt',
1003
+ nodeType: 'YulIdentifier',
1004
+ src: '988:2:12',
1005
+ },
1006
+ nodeType: 'YulFunctionCall',
1007
+ src: '988:13:12',
1008
+ },
1009
+ nodeType: 'YulForLoop',
1010
+ post: {
1011
+ nodeType: 'YulBlock',
1012
+ src: '1002:18:12',
1013
+ statements: [
1014
+ {
1015
+ nodeType: 'YulAssignment',
1016
+ src: '1004:14:12',
1017
+ value: {
1018
+ arguments: [
1019
+ {
1020
+ name: 'i',
1021
+ nodeType: 'YulIdentifier',
1022
+ src: '1013:1:12',
1023
+ },
1024
+ {
1025
+ kind: 'number',
1026
+ nodeType: 'YulLiteral',
1027
+ src: '1016:1:12',
1028
+ type: '',
1029
+ value: '1',
1030
+ },
1031
+ ],
1032
+ functionName: {
1033
+ name: 'add',
1034
+ nodeType: 'YulIdentifier',
1035
+ src: '1009:3:12',
1036
+ },
1037
+ nodeType: 'YulFunctionCall',
1038
+ src: '1009:9:12',
1039
+ },
1040
+ variableNames: [
1041
+ {
1042
+ name: 'i',
1043
+ nodeType: 'YulIdentifier',
1044
+ src: '1004:1:12',
1045
+ },
1046
+ ],
1047
+ },
1048
+ ],
1049
+ },
1050
+ pre: {
1051
+ nodeType: 'YulBlock',
1052
+ src: '984:3:12',
1053
+ statements: [],
1054
+ },
1055
+ src: '980:218:12',
1056
+ },
1057
+ {
1058
+ nodeType: 'YulAssignment',
1059
+ src: '1207:11:12',
1060
+ value: {
1061
+ name: 'pos',
1062
+ nodeType: 'YulIdentifier',
1063
+ src: '1215:3:12',
1064
+ },
1065
+ variableNames: [
1066
+ {
1067
+ name: 'tail',
1068
+ nodeType: 'YulIdentifier',
1069
+ src: '1207:4:12',
1070
+ },
1071
+ ],
1072
+ },
1073
+ ],
1074
+ },
1075
+ name: 'abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed',
1076
+ nodeType: 'YulFunctionDefinition',
1077
+ parameters: [
1078
+ {
1079
+ name: 'headStart',
1080
+ nodeType: 'YulTypedName',
1081
+ src: '663:9:12',
1082
+ type: '',
1083
+ },
1084
+ {
1085
+ name: 'value0',
1086
+ nodeType: 'YulTypedName',
1087
+ src: '674:6:12',
1088
+ type: '',
1089
+ },
1090
+ ],
1091
+ returnVariables: [
1092
+ {
1093
+ name: 'tail',
1094
+ nodeType: 'YulTypedName',
1095
+ src: '685:4:12',
1096
+ type: '',
1097
+ },
1098
+ ],
1099
+ src: '543:681:12',
1100
+ },
1101
+ {
1102
+ body: {
1103
+ nodeType: 'YulBlock',
1104
+ src: '1289:447:12',
1105
+ statements: [
1106
+ {
1107
+ nodeType: 'YulVariableDeclaration',
1108
+ src: '1299:26:12',
1109
+ value: {
1110
+ arguments: [
1111
+ {
1112
+ name: 'value',
1113
+ nodeType: 'YulIdentifier',
1114
+ src: '1319:5:12',
1115
+ },
1116
+ ],
1117
+ functionName: {
1118
+ name: 'mload',
1119
+ nodeType: 'YulIdentifier',
1120
+ src: '1313:5:12',
1121
+ },
1122
+ nodeType: 'YulFunctionCall',
1123
+ src: '1313:12:12',
1124
+ },
1125
+ variables: [
1126
+ {
1127
+ name: 'length',
1128
+ nodeType: 'YulTypedName',
1129
+ src: '1303:6:12',
1130
+ type: '',
1131
+ },
1132
+ ],
1133
+ },
1134
+ {
1135
+ expression: {
1136
+ arguments: [
1137
+ {
1138
+ name: 'pos',
1139
+ nodeType: 'YulIdentifier',
1140
+ src: '1341:3:12',
1141
+ },
1142
+ {
1143
+ name: 'length',
1144
+ nodeType: 'YulIdentifier',
1145
+ src: '1346:6:12',
1146
+ },
1147
+ ],
1148
+ functionName: {
1149
+ name: 'mstore',
1150
+ nodeType: 'YulIdentifier',
1151
+ src: '1334:6:12',
1152
+ },
1153
+ nodeType: 'YulFunctionCall',
1154
+ src: '1334:19:12',
1155
+ },
1156
+ nodeType: 'YulExpressionStatement',
1157
+ src: '1334:19:12',
1158
+ },
1159
+ {
1160
+ nodeType: 'YulVariableDeclaration',
1161
+ src: '1362:14:12',
1162
+ value: {
1163
+ kind: 'number',
1164
+ nodeType: 'YulLiteral',
1165
+ src: '1372:4:12',
1166
+ type: '',
1167
+ value: '0x20',
1168
+ },
1169
+ variables: [
1170
+ {
1171
+ name: '_1',
1172
+ nodeType: 'YulTypedName',
1173
+ src: '1366:2:12',
1174
+ type: '',
1175
+ },
1176
+ ],
1177
+ },
1178
+ {
1179
+ nodeType: 'YulAssignment',
1180
+ src: '1385:19:12',
1181
+ value: {
1182
+ arguments: [
1183
+ {
1184
+ name: 'pos',
1185
+ nodeType: 'YulIdentifier',
1186
+ src: '1396:3:12',
1187
+ },
1188
+ {
1189
+ name: '_1',
1190
+ nodeType: 'YulIdentifier',
1191
+ src: '1401:2:12',
1192
+ },
1193
+ ],
1194
+ functionName: {
1195
+ name: 'add',
1196
+ nodeType: 'YulIdentifier',
1197
+ src: '1392:3:12',
1198
+ },
1199
+ nodeType: 'YulFunctionCall',
1200
+ src: '1392:12:12',
1201
+ },
1202
+ variableNames: [
1203
+ {
1204
+ name: 'pos',
1205
+ nodeType: 'YulIdentifier',
1206
+ src: '1385:3:12',
1207
+ },
1208
+ ],
1209
+ },
1210
+ {
1211
+ nodeType: 'YulVariableDeclaration',
1212
+ src: '1413:28:12',
1213
+ value: {
1214
+ arguments: [
1215
+ {
1216
+ name: 'value',
1217
+ nodeType: 'YulIdentifier',
1218
+ src: '1431:5:12',
1219
+ },
1220
+ {
1221
+ name: '_1',
1222
+ nodeType: 'YulIdentifier',
1223
+ src: '1438:2:12',
1224
+ },
1225
+ ],
1226
+ functionName: {
1227
+ name: 'add',
1228
+ nodeType: 'YulIdentifier',
1229
+ src: '1427:3:12',
1230
+ },
1231
+ nodeType: 'YulFunctionCall',
1232
+ src: '1427:14:12',
1233
+ },
1234
+ variables: [
1235
+ {
1236
+ name: 'srcPtr',
1237
+ nodeType: 'YulTypedName',
1238
+ src: '1417:6:12',
1239
+ type: '',
1240
+ },
1241
+ ],
1242
+ },
1243
+ {
1244
+ nodeType: 'YulVariableDeclaration',
1245
+ src: '1450:10:12',
1246
+ value: {
1247
+ kind: 'number',
1248
+ nodeType: 'YulLiteral',
1249
+ src: '1459:1:12',
1250
+ type: '',
1251
+ value: '0',
1252
+ },
1253
+ variables: [
1254
+ {
1255
+ name: 'i',
1256
+ nodeType: 'YulTypedName',
1257
+ src: '1454:1:12',
1258
+ type: '',
1259
+ },
1260
+ ],
1261
+ },
1262
+ {
1263
+ body: {
1264
+ nodeType: 'YulBlock',
1265
+ src: '1518:193:12',
1266
+ statements: [
1267
+ {
1268
+ expression: {
1269
+ arguments: [
1270
+ {
1271
+ name: 'pos',
1272
+ nodeType: 'YulIdentifier',
1273
+ src: '1539:3:12',
1274
+ },
1275
+ {
1276
+ arguments: [
1277
+ {
1278
+ arguments: [
1279
+ {
1280
+ name: 'srcPtr',
1281
+ nodeType: 'YulIdentifier',
1282
+ src: '1554:6:12',
1283
+ },
1284
+ ],
1285
+ functionName: {
1286
+ name: 'mload',
1287
+ nodeType: 'YulIdentifier',
1288
+ src: '1548:5:12',
1289
+ },
1290
+ nodeType: 'YulFunctionCall',
1291
+ src: '1548:13:12',
1292
+ },
1293
+ {
1294
+ kind: 'number',
1295
+ nodeType: 'YulLiteral',
1296
+ src: '1563:66:12',
1297
+ type: '',
1298
+ value: '0xffffffff00000000000000000000000000000000000000000000000000000000',
1299
+ },
1300
+ ],
1301
+ functionName: {
1302
+ name: 'and',
1303
+ nodeType: 'YulIdentifier',
1304
+ src: '1544:3:12',
1305
+ },
1306
+ nodeType: 'YulFunctionCall',
1307
+ src: '1544:86:12',
1308
+ },
1309
+ ],
1310
+ functionName: {
1311
+ name: 'mstore',
1312
+ nodeType: 'YulIdentifier',
1313
+ src: '1532:6:12',
1314
+ },
1315
+ nodeType: 'YulFunctionCall',
1316
+ src: '1532:99:12',
1317
+ },
1318
+ nodeType: 'YulExpressionStatement',
1319
+ src: '1532:99:12',
1320
+ },
1321
+ {
1322
+ nodeType: 'YulAssignment',
1323
+ src: '1644:19:12',
1324
+ value: {
1325
+ arguments: [
1326
+ {
1327
+ name: 'pos',
1328
+ nodeType: 'YulIdentifier',
1329
+ src: '1655:3:12',
1330
+ },
1331
+ {
1332
+ name: '_1',
1333
+ nodeType: 'YulIdentifier',
1334
+ src: '1660:2:12',
1335
+ },
1336
+ ],
1337
+ functionName: {
1338
+ name: 'add',
1339
+ nodeType: 'YulIdentifier',
1340
+ src: '1651:3:12',
1341
+ },
1342
+ nodeType: 'YulFunctionCall',
1343
+ src: '1651:12:12',
1344
+ },
1345
+ variableNames: [
1346
+ {
1347
+ name: 'pos',
1348
+ nodeType: 'YulIdentifier',
1349
+ src: '1644:3:12',
1350
+ },
1351
+ ],
1352
+ },
1353
+ {
1354
+ nodeType: 'YulAssignment',
1355
+ src: '1676:25:12',
1356
+ value: {
1357
+ arguments: [
1358
+ {
1359
+ name: 'srcPtr',
1360
+ nodeType: 'YulIdentifier',
1361
+ src: '1690:6:12',
1362
+ },
1363
+ {
1364
+ name: '_1',
1365
+ nodeType: 'YulIdentifier',
1366
+ src: '1698:2:12',
1367
+ },
1368
+ ],
1369
+ functionName: {
1370
+ name: 'add',
1371
+ nodeType: 'YulIdentifier',
1372
+ src: '1686:3:12',
1373
+ },
1374
+ nodeType: 'YulFunctionCall',
1375
+ src: '1686:15:12',
1376
+ },
1377
+ variableNames: [
1378
+ {
1379
+ name: 'srcPtr',
1380
+ nodeType: 'YulIdentifier',
1381
+ src: '1676:6:12',
1382
+ },
1383
+ ],
1384
+ },
1385
+ ],
1386
+ },
1387
+ condition: {
1388
+ arguments: [
1389
+ {
1390
+ name: 'i',
1391
+ nodeType: 'YulIdentifier',
1392
+ src: '1480:1:12',
1393
+ },
1394
+ {
1395
+ name: 'length',
1396
+ nodeType: 'YulIdentifier',
1397
+ src: '1483:6:12',
1398
+ },
1399
+ ],
1400
+ functionName: {
1401
+ name: 'lt',
1402
+ nodeType: 'YulIdentifier',
1403
+ src: '1477:2:12',
1404
+ },
1405
+ nodeType: 'YulFunctionCall',
1406
+ src: '1477:13:12',
1407
+ },
1408
+ nodeType: 'YulForLoop',
1409
+ post: {
1410
+ nodeType: 'YulBlock',
1411
+ src: '1491:18:12',
1412
+ statements: [
1413
+ {
1414
+ nodeType: 'YulAssignment',
1415
+ src: '1493:14:12',
1416
+ value: {
1417
+ arguments: [
1418
+ {
1419
+ name: 'i',
1420
+ nodeType: 'YulIdentifier',
1421
+ src: '1502:1:12',
1422
+ },
1423
+ {
1424
+ kind: 'number',
1425
+ nodeType: 'YulLiteral',
1426
+ src: '1505:1:12',
1427
+ type: '',
1428
+ value: '1',
1429
+ },
1430
+ ],
1431
+ functionName: {
1432
+ name: 'add',
1433
+ nodeType: 'YulIdentifier',
1434
+ src: '1498:3:12',
1435
+ },
1436
+ nodeType: 'YulFunctionCall',
1437
+ src: '1498:9:12',
1438
+ },
1439
+ variableNames: [
1440
+ {
1441
+ name: 'i',
1442
+ nodeType: 'YulIdentifier',
1443
+ src: '1493:1:12',
1444
+ },
1445
+ ],
1446
+ },
1447
+ ],
1448
+ },
1449
+ pre: {
1450
+ nodeType: 'YulBlock',
1451
+ src: '1473:3:12',
1452
+ statements: [],
1453
+ },
1454
+ src: '1469:242:12',
1455
+ },
1456
+ {
1457
+ nodeType: 'YulAssignment',
1458
+ src: '1720:10:12',
1459
+ value: {
1460
+ name: 'pos',
1461
+ nodeType: 'YulIdentifier',
1462
+ src: '1727:3:12',
1463
+ },
1464
+ variableNames: [
1465
+ {
1466
+ name: 'end',
1467
+ nodeType: 'YulIdentifier',
1468
+ src: '1720:3:12',
1469
+ },
1470
+ ],
1471
+ },
1472
+ ],
1473
+ },
1474
+ name: 'abi_encode_array_bytes4_dyn',
1475
+ nodeType: 'YulFunctionDefinition',
1476
+ parameters: [
1477
+ {
1478
+ name: 'value',
1479
+ nodeType: 'YulTypedName',
1480
+ src: '1266:5:12',
1481
+ type: '',
1482
+ },
1483
+ {
1484
+ name: 'pos',
1485
+ nodeType: 'YulTypedName',
1486
+ src: '1273:3:12',
1487
+ type: '',
1488
+ },
1489
+ ],
1490
+ returnVariables: [
1491
+ {
1492
+ name: 'end',
1493
+ nodeType: 'YulTypedName',
1494
+ src: '1281:3:12',
1495
+ type: '',
1496
+ },
1497
+ ],
1498
+ src: '1229:507:12',
1499
+ },
1500
+ {
1501
+ body: {
1502
+ nodeType: 'YulBlock',
1503
+ src: '1936:944:12',
1504
+ statements: [
1505
+ {
1506
+ nodeType: 'YulVariableDeclaration',
1507
+ src: '1946:12:12',
1508
+ value: {
1509
+ kind: 'number',
1510
+ nodeType: 'YulLiteral',
1511
+ src: '1956:2:12',
1512
+ type: '',
1513
+ value: '32',
1514
+ },
1515
+ variables: [
1516
+ {
1517
+ name: '_1',
1518
+ nodeType: 'YulTypedName',
1519
+ src: '1950:2:12',
1520
+ type: '',
1521
+ },
1522
+ ],
1523
+ },
1524
+ {
1525
+ nodeType: 'YulVariableDeclaration',
1526
+ src: '1967:32:12',
1527
+ value: {
1528
+ arguments: [
1529
+ {
1530
+ name: 'headStart',
1531
+ nodeType: 'YulIdentifier',
1532
+ src: '1985:9:12',
1533
+ },
1534
+ {
1535
+ name: '_1',
1536
+ nodeType: 'YulIdentifier',
1537
+ src: '1996:2:12',
1538
+ },
1539
+ ],
1540
+ functionName: {
1541
+ name: 'add',
1542
+ nodeType: 'YulIdentifier',
1543
+ src: '1981:3:12',
1544
+ },
1545
+ nodeType: 'YulFunctionCall',
1546
+ src: '1981:18:12',
1547
+ },
1548
+ variables: [
1549
+ {
1550
+ name: 'tail_1',
1551
+ nodeType: 'YulTypedName',
1552
+ src: '1971:6:12',
1553
+ type: '',
1554
+ },
1555
+ ],
1556
+ },
1557
+ {
1558
+ expression: {
1559
+ arguments: [
1560
+ {
1561
+ name: 'headStart',
1562
+ nodeType: 'YulIdentifier',
1563
+ src: '2015:9:12',
1564
+ },
1565
+ {
1566
+ name: '_1',
1567
+ nodeType: 'YulIdentifier',
1568
+ src: '2026:2:12',
1569
+ },
1570
+ ],
1571
+ functionName: {
1572
+ name: 'mstore',
1573
+ nodeType: 'YulIdentifier',
1574
+ src: '2008:6:12',
1575
+ },
1576
+ nodeType: 'YulFunctionCall',
1577
+ src: '2008:21:12',
1578
+ },
1579
+ nodeType: 'YulExpressionStatement',
1580
+ src: '2008:21:12',
1581
+ },
1582
+ {
1583
+ nodeType: 'YulVariableDeclaration',
1584
+ src: '2038:17:12',
1585
+ value: {
1586
+ name: 'tail_1',
1587
+ nodeType: 'YulIdentifier',
1588
+ src: '2049:6:12',
1589
+ },
1590
+ variables: [
1591
+ {
1592
+ name: 'pos',
1593
+ nodeType: 'YulTypedName',
1594
+ src: '2042:3:12',
1595
+ type: '',
1596
+ },
1597
+ ],
1598
+ },
1599
+ {
1600
+ nodeType: 'YulVariableDeclaration',
1601
+ src: '2064:27:12',
1602
+ value: {
1603
+ arguments: [
1604
+ {
1605
+ name: 'value0',
1606
+ nodeType: 'YulIdentifier',
1607
+ src: '2084:6:12',
1608
+ },
1609
+ ],
1610
+ functionName: {
1611
+ name: 'mload',
1612
+ nodeType: 'YulIdentifier',
1613
+ src: '2078:5:12',
1614
+ },
1615
+ nodeType: 'YulFunctionCall',
1616
+ src: '2078:13:12',
1617
+ },
1618
+ variables: [
1619
+ {
1620
+ name: 'length',
1621
+ nodeType: 'YulTypedName',
1622
+ src: '2068:6:12',
1623
+ type: '',
1624
+ },
1625
+ ],
1626
+ },
1627
+ {
1628
+ expression: {
1629
+ arguments: [
1630
+ {
1631
+ name: 'tail_1',
1632
+ nodeType: 'YulIdentifier',
1633
+ src: '2107:6:12',
1634
+ },
1635
+ {
1636
+ name: 'length',
1637
+ nodeType: 'YulIdentifier',
1638
+ src: '2115:6:12',
1639
+ },
1640
+ ],
1641
+ functionName: {
1642
+ name: 'mstore',
1643
+ nodeType: 'YulIdentifier',
1644
+ src: '2100:6:12',
1645
+ },
1646
+ nodeType: 'YulFunctionCall',
1647
+ src: '2100:22:12',
1648
+ },
1649
+ nodeType: 'YulExpressionStatement',
1650
+ src: '2100:22:12',
1651
+ },
1652
+ {
1653
+ nodeType: 'YulVariableDeclaration',
1654
+ src: '2131:12:12',
1655
+ value: {
1656
+ kind: 'number',
1657
+ nodeType: 'YulLiteral',
1658
+ src: '2141:2:12',
1659
+ type: '',
1660
+ value: '64',
1661
+ },
1662
+ variables: [
1663
+ {
1664
+ name: '_2',
1665
+ nodeType: 'YulTypedName',
1666
+ src: '2135:2:12',
1667
+ type: '',
1668
+ },
1669
+ ],
1670
+ },
1671
+ {
1672
+ nodeType: 'YulAssignment',
1673
+ src: '2152:25:12',
1674
+ value: {
1675
+ arguments: [
1676
+ {
1677
+ name: 'headStart',
1678
+ nodeType: 'YulIdentifier',
1679
+ src: '2163:9:12',
1680
+ },
1681
+ {
1682
+ name: '_2',
1683
+ nodeType: 'YulIdentifier',
1684
+ src: '2174:2:12',
1685
+ },
1686
+ ],
1687
+ functionName: {
1688
+ name: 'add',
1689
+ nodeType: 'YulIdentifier',
1690
+ src: '2159:3:12',
1691
+ },
1692
+ nodeType: 'YulFunctionCall',
1693
+ src: '2159:18:12',
1694
+ },
1695
+ variableNames: [
1696
+ {
1697
+ name: 'pos',
1698
+ nodeType: 'YulIdentifier',
1699
+ src: '2152:3:12',
1700
+ },
1701
+ ],
1702
+ },
1703
+ {
1704
+ nodeType: 'YulVariableDeclaration',
1705
+ src: '2186:53:12',
1706
+ value: {
1707
+ arguments: [
1708
+ {
1709
+ arguments: [
1710
+ {
1711
+ name: 'headStart',
1712
+ nodeType: 'YulIdentifier',
1713
+ src: '2208:9:12',
1714
+ },
1715
+ {
1716
+ arguments: [
1717
+ {
1718
+ kind: 'number',
1719
+ nodeType: 'YulLiteral',
1720
+ src: '2223:1:12',
1721
+ type: '',
1722
+ value: '5',
1723
+ },
1724
+ {
1725
+ name: 'length',
1726
+ nodeType: 'YulIdentifier',
1727
+ src: '2226:6:12',
1728
+ },
1729
+ ],
1730
+ functionName: {
1731
+ name: 'shl',
1732
+ nodeType: 'YulIdentifier',
1733
+ src: '2219:3:12',
1734
+ },
1735
+ nodeType: 'YulFunctionCall',
1736
+ src: '2219:14:12',
1737
+ },
1738
+ ],
1739
+ functionName: {
1740
+ name: 'add',
1741
+ nodeType: 'YulIdentifier',
1742
+ src: '2204:3:12',
1743
+ },
1744
+ nodeType: 'YulFunctionCall',
1745
+ src: '2204:30:12',
1746
+ },
1747
+ {
1748
+ name: '_2',
1749
+ nodeType: 'YulIdentifier',
1750
+ src: '2236:2:12',
1751
+ },
1752
+ ],
1753
+ functionName: {
1754
+ name: 'add',
1755
+ nodeType: 'YulIdentifier',
1756
+ src: '2200:3:12',
1757
+ },
1758
+ nodeType: 'YulFunctionCall',
1759
+ src: '2200:39:12',
1760
+ },
1761
+ variables: [
1762
+ {
1763
+ name: 'tail_2',
1764
+ nodeType: 'YulTypedName',
1765
+ src: '2190:6:12',
1766
+ type: '',
1767
+ },
1768
+ ],
1769
+ },
1770
+ {
1771
+ nodeType: 'YulVariableDeclaration',
1772
+ src: '2248:29:12',
1773
+ value: {
1774
+ arguments: [
1775
+ {
1776
+ name: 'value0',
1777
+ nodeType: 'YulIdentifier',
1778
+ src: '2266:6:12',
1779
+ },
1780
+ {
1781
+ name: '_1',
1782
+ nodeType: 'YulIdentifier',
1783
+ src: '2274:2:12',
1784
+ },
1785
+ ],
1786
+ functionName: {
1787
+ name: 'add',
1788
+ nodeType: 'YulIdentifier',
1789
+ src: '2262:3:12',
1790
+ },
1791
+ nodeType: 'YulFunctionCall',
1792
+ src: '2262:15:12',
1793
+ },
1794
+ variables: [
1795
+ {
1796
+ name: 'srcPtr',
1797
+ nodeType: 'YulTypedName',
1798
+ src: '2252:6:12',
1799
+ type: '',
1800
+ },
1801
+ ],
1802
+ },
1803
+ {
1804
+ nodeType: 'YulVariableDeclaration',
1805
+ src: '2286:10:12',
1806
+ value: {
1807
+ kind: 'number',
1808
+ nodeType: 'YulLiteral',
1809
+ src: '2295:1:12',
1810
+ type: '',
1811
+ value: '0',
1812
+ },
1813
+ variables: [
1814
+ {
1815
+ name: 'i',
1816
+ nodeType: 'YulTypedName',
1817
+ src: '2290:1:12',
1818
+ type: '',
1819
+ },
1820
+ ],
1821
+ },
1822
+ {
1823
+ body: {
1824
+ nodeType: 'YulBlock',
1825
+ src: '2354:497:12',
1826
+ statements: [
1827
+ {
1828
+ expression: {
1829
+ arguments: [
1830
+ {
1831
+ name: 'pos',
1832
+ nodeType: 'YulIdentifier',
1833
+ src: '2375:3:12',
1834
+ },
1835
+ {
1836
+ arguments: [
1837
+ {
1838
+ arguments: [
1839
+ {
1840
+ name: 'tail_2',
1841
+ nodeType: 'YulIdentifier',
1842
+ src: '2388:6:12',
1843
+ },
1844
+ {
1845
+ name: 'headStart',
1846
+ nodeType: 'YulIdentifier',
1847
+ src: '2396:9:12',
1848
+ },
1849
+ ],
1850
+ functionName: {
1851
+ name: 'sub',
1852
+ nodeType: 'YulIdentifier',
1853
+ src: '2384:3:12',
1854
+ },
1855
+ nodeType: 'YulFunctionCall',
1856
+ src: '2384:22:12',
1857
+ },
1858
+ {
1859
+ kind: 'number',
1860
+ nodeType: 'YulLiteral',
1861
+ src: '2408:66:12',
1862
+ type: '',
1863
+ value: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0',
1864
+ },
1865
+ ],
1866
+ functionName: {
1867
+ name: 'add',
1868
+ nodeType: 'YulIdentifier',
1869
+ src: '2380:3:12',
1870
+ },
1871
+ nodeType: 'YulFunctionCall',
1872
+ src: '2380:95:12',
1873
+ },
1874
+ ],
1875
+ functionName: {
1876
+ name: 'mstore',
1877
+ nodeType: 'YulIdentifier',
1878
+ src: '2368:6:12',
1879
+ },
1880
+ nodeType: 'YulFunctionCall',
1881
+ src: '2368:108:12',
1882
+ },
1883
+ nodeType: 'YulExpressionStatement',
1884
+ src: '2368:108:12',
1885
+ },
1886
+ {
1887
+ nodeType: 'YulVariableDeclaration',
1888
+ src: '2489:23:12',
1889
+ value: {
1890
+ arguments: [
1891
+ {
1892
+ name: 'srcPtr',
1893
+ nodeType: 'YulIdentifier',
1894
+ src: '2505:6:12',
1895
+ },
1896
+ ],
1897
+ functionName: {
1898
+ name: 'mload',
1899
+ nodeType: 'YulIdentifier',
1900
+ src: '2499:5:12',
1901
+ },
1902
+ nodeType: 'YulFunctionCall',
1903
+ src: '2499:13:12',
1904
+ },
1905
+ variables: [
1906
+ {
1907
+ name: '_3',
1908
+ nodeType: 'YulTypedName',
1909
+ src: '2493:2:12',
1910
+ type: '',
1911
+ },
1912
+ ],
1913
+ },
1914
+ {
1915
+ expression: {
1916
+ arguments: [
1917
+ {
1918
+ name: 'tail_2',
1919
+ nodeType: 'YulIdentifier',
1920
+ src: '2532:6:12',
1921
+ },
1922
+ {
1923
+ arguments: [
1924
+ {
1925
+ arguments: [
1926
+ {
1927
+ name: '_3',
1928
+ nodeType: 'YulIdentifier',
1929
+ src: '2550:2:12',
1930
+ },
1931
+ ],
1932
+ functionName: {
1933
+ name: 'mload',
1934
+ nodeType: 'YulIdentifier',
1935
+ src: '2544:5:12',
1936
+ },
1937
+ nodeType: 'YulFunctionCall',
1938
+ src: '2544:9:12',
1939
+ },
1940
+ {
1941
+ kind: 'number',
1942
+ nodeType: 'YulLiteral',
1943
+ src: '2555:42:12',
1944
+ type: '',
1945
+ value: '0xffffffffffffffffffffffffffffffffffffffff',
1946
+ },
1947
+ ],
1948
+ functionName: {
1949
+ name: 'and',
1950
+ nodeType: 'YulIdentifier',
1951
+ src: '2540:3:12',
1952
+ },
1953
+ nodeType: 'YulFunctionCall',
1954
+ src: '2540:58:12',
1955
+ },
1956
+ ],
1957
+ functionName: {
1958
+ name: 'mstore',
1959
+ nodeType: 'YulIdentifier',
1960
+ src: '2525:6:12',
1961
+ },
1962
+ nodeType: 'YulFunctionCall',
1963
+ src: '2525:74:12',
1964
+ },
1965
+ nodeType: 'YulExpressionStatement',
1966
+ src: '2525:74:12',
1967
+ },
1968
+ {
1969
+ nodeType: 'YulVariableDeclaration',
1970
+ src: '2612:38:12',
1971
+ value: {
1972
+ arguments: [
1973
+ {
1974
+ arguments: [
1975
+ {
1976
+ name: '_3',
1977
+ nodeType: 'YulIdentifier',
1978
+ src: '2642:2:12',
1979
+ },
1980
+ {
1981
+ name: '_1',
1982
+ nodeType: 'YulIdentifier',
1983
+ src: '2646:2:12',
1984
+ },
1985
+ ],
1986
+ functionName: {
1987
+ name: 'add',
1988
+ nodeType: 'YulIdentifier',
1989
+ src: '2638:3:12',
1990
+ },
1991
+ nodeType: 'YulFunctionCall',
1992
+ src: '2638:11:12',
1993
+ },
1994
+ ],
1995
+ functionName: {
1996
+ name: 'mload',
1997
+ nodeType: 'YulIdentifier',
1998
+ src: '2632:5:12',
1999
+ },
2000
+ nodeType: 'YulFunctionCall',
2001
+ src: '2632:18:12',
2002
+ },
2003
+ variables: [
2004
+ {
2005
+ name: 'memberValue0',
2006
+ nodeType: 'YulTypedName',
2007
+ src: '2616:12:12',
2008
+ type: '',
2009
+ },
2010
+ ],
2011
+ },
2012
+ {
2013
+ expression: {
2014
+ arguments: [
2015
+ {
2016
+ arguments: [
2017
+ {
2018
+ name: 'tail_2',
2019
+ nodeType: 'YulIdentifier',
2020
+ src: '2674:6:12',
2021
+ },
2022
+ {
2023
+ name: '_1',
2024
+ nodeType: 'YulIdentifier',
2025
+ src: '2682:2:12',
2026
+ },
2027
+ ],
2028
+ functionName: {
2029
+ name: 'add',
2030
+ nodeType: 'YulIdentifier',
2031
+ src: '2670:3:12',
2032
+ },
2033
+ nodeType: 'YulFunctionCall',
2034
+ src: '2670:15:12',
2035
+ },
2036
+ {
2037
+ name: '_2',
2038
+ nodeType: 'YulIdentifier',
2039
+ src: '2687:2:12',
2040
+ },
2041
+ ],
2042
+ functionName: {
2043
+ name: 'mstore',
2044
+ nodeType: 'YulIdentifier',
2045
+ src: '2663:6:12',
2046
+ },
2047
+ nodeType: 'YulFunctionCall',
2048
+ src: '2663:27:12',
2049
+ },
2050
+ nodeType: 'YulExpressionStatement',
2051
+ src: '2663:27:12',
2052
+ },
2053
+ {
2054
+ nodeType: 'YulAssignment',
2055
+ src: '2703:68:12',
2056
+ value: {
2057
+ arguments: [
2058
+ {
2059
+ name: 'memberValue0',
2060
+ nodeType: 'YulIdentifier',
2061
+ src: '2741:12:12',
2062
+ },
2063
+ {
2064
+ arguments: [
2065
+ {
2066
+ name: 'tail_2',
2067
+ nodeType: 'YulIdentifier',
2068
+ src: '2759:6:12',
2069
+ },
2070
+ {
2071
+ name: '_2',
2072
+ nodeType: 'YulIdentifier',
2073
+ src: '2767:2:12',
2074
+ },
2075
+ ],
2076
+ functionName: {
2077
+ name: 'add',
2078
+ nodeType: 'YulIdentifier',
2079
+ src: '2755:3:12',
2080
+ },
2081
+ nodeType: 'YulFunctionCall',
2082
+ src: '2755:15:12',
2083
+ },
2084
+ ],
2085
+ functionName: {
2086
+ name: 'abi_encode_array_bytes4_dyn',
2087
+ nodeType: 'YulIdentifier',
2088
+ src: '2713:27:12',
2089
+ },
2090
+ nodeType: 'YulFunctionCall',
2091
+ src: '2713:58:12',
2092
+ },
2093
+ variableNames: [
2094
+ {
2095
+ name: 'tail_2',
2096
+ nodeType: 'YulIdentifier',
2097
+ src: '2703:6:12',
2098
+ },
2099
+ ],
2100
+ },
2101
+ {
2102
+ nodeType: 'YulAssignment',
2103
+ src: '2784:25:12',
2104
+ value: {
2105
+ arguments: [
2106
+ {
2107
+ name: 'srcPtr',
2108
+ nodeType: 'YulIdentifier',
2109
+ src: '2798:6:12',
2110
+ },
2111
+ {
2112
+ name: '_1',
2113
+ nodeType: 'YulIdentifier',
2114
+ src: '2806:2:12',
2115
+ },
2116
+ ],
2117
+ functionName: {
2118
+ name: 'add',
2119
+ nodeType: 'YulIdentifier',
2120
+ src: '2794:3:12',
2121
+ },
2122
+ nodeType: 'YulFunctionCall',
2123
+ src: '2794:15:12',
2124
+ },
2125
+ variableNames: [
2126
+ {
2127
+ name: 'srcPtr',
2128
+ nodeType: 'YulIdentifier',
2129
+ src: '2784:6:12',
2130
+ },
2131
+ ],
2132
+ },
2133
+ {
2134
+ nodeType: 'YulAssignment',
2135
+ src: '2822:19:12',
2136
+ value: {
2137
+ arguments: [
2138
+ {
2139
+ name: 'pos',
2140
+ nodeType: 'YulIdentifier',
2141
+ src: '2833:3:12',
2142
+ },
2143
+ {
2144
+ name: '_1',
2145
+ nodeType: 'YulIdentifier',
2146
+ src: '2838:2:12',
2147
+ },
2148
+ ],
2149
+ functionName: {
2150
+ name: 'add',
2151
+ nodeType: 'YulIdentifier',
2152
+ src: '2829:3:12',
2153
+ },
2154
+ nodeType: 'YulFunctionCall',
2155
+ src: '2829:12:12',
2156
+ },
2157
+ variableNames: [
2158
+ {
2159
+ name: 'pos',
2160
+ nodeType: 'YulIdentifier',
2161
+ src: '2822:3:12',
2162
+ },
2163
+ ],
2164
+ },
2165
+ ],
2166
+ },
2167
+ condition: {
2168
+ arguments: [
2169
+ {
2170
+ name: 'i',
2171
+ nodeType: 'YulIdentifier',
2172
+ src: '2316:1:12',
2173
+ },
2174
+ {
2175
+ name: 'length',
2176
+ nodeType: 'YulIdentifier',
2177
+ src: '2319:6:12',
2178
+ },
2179
+ ],
2180
+ functionName: {
2181
+ name: 'lt',
2182
+ nodeType: 'YulIdentifier',
2183
+ src: '2313:2:12',
2184
+ },
2185
+ nodeType: 'YulFunctionCall',
2186
+ src: '2313:13:12',
2187
+ },
2188
+ nodeType: 'YulForLoop',
2189
+ post: {
2190
+ nodeType: 'YulBlock',
2191
+ src: '2327:18:12',
2192
+ statements: [
2193
+ {
2194
+ nodeType: 'YulAssignment',
2195
+ src: '2329:14:12',
2196
+ value: {
2197
+ arguments: [
2198
+ {
2199
+ name: 'i',
2200
+ nodeType: 'YulIdentifier',
2201
+ src: '2338:1:12',
2202
+ },
2203
+ {
2204
+ kind: 'number',
2205
+ nodeType: 'YulLiteral',
2206
+ src: '2341:1:12',
2207
+ type: '',
2208
+ value: '1',
2209
+ },
2210
+ ],
2211
+ functionName: {
2212
+ name: 'add',
2213
+ nodeType: 'YulIdentifier',
2214
+ src: '2334:3:12',
2215
+ },
2216
+ nodeType: 'YulFunctionCall',
2217
+ src: '2334:9:12',
2218
+ },
2219
+ variableNames: [
2220
+ {
2221
+ name: 'i',
2222
+ nodeType: 'YulIdentifier',
2223
+ src: '2329:1:12',
2224
+ },
2225
+ ],
2226
+ },
2227
+ ],
2228
+ },
2229
+ pre: {
2230
+ nodeType: 'YulBlock',
2231
+ src: '2309:3:12',
2232
+ statements: [],
2233
+ },
2234
+ src: '2305:546:12',
2235
+ },
2236
+ {
2237
+ nodeType: 'YulAssignment',
2238
+ src: '2860:14:12',
2239
+ value: {
2240
+ name: 'tail_2',
2241
+ nodeType: 'YulIdentifier',
2242
+ src: '2868:6:12',
2243
+ },
2244
+ variableNames: [
2245
+ {
2246
+ name: 'tail',
2247
+ nodeType: 'YulIdentifier',
2248
+ src: '2860:4:12',
2249
+ },
2250
+ ],
2251
+ },
2252
+ ],
2253
+ },
2254
+ name: 'abi_encode_tuple_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__fromStack_reversed',
2255
+ nodeType: 'YulFunctionDefinition',
2256
+ parameters: [
2257
+ {
2258
+ name: 'headStart',
2259
+ nodeType: 'YulTypedName',
2260
+ src: '1905:9:12',
2261
+ type: '',
2262
+ },
2263
+ {
2264
+ name: 'value0',
2265
+ nodeType: 'YulTypedName',
2266
+ src: '1916:6:12',
2267
+ type: '',
2268
+ },
2269
+ ],
2270
+ returnVariables: [
2271
+ {
2272
+ name: 'tail',
2273
+ nodeType: 'YulTypedName',
2274
+ src: '1927:4:12',
2275
+ type: '',
2276
+ },
2277
+ ],
2278
+ src: '1741:1139:12',
2279
+ },
2280
+ {
2281
+ body: {
2282
+ nodeType: 'YulBlock',
2283
+ src: '2955:239:12',
2284
+ statements: [
2285
+ {
2286
+ body: {
2287
+ nodeType: 'YulBlock',
2288
+ src: '3001:16:12',
2289
+ statements: [
2290
+ {
2291
+ expression: {
2292
+ arguments: [
2293
+ {
2294
+ kind: 'number',
2295
+ nodeType: 'YulLiteral',
2296
+ src: '3010:1:12',
2297
+ type: '',
2298
+ value: '0',
2299
+ },
2300
+ {
2301
+ kind: 'number',
2302
+ nodeType: 'YulLiteral',
2303
+ src: '3013:1:12',
2304
+ type: '',
2305
+ value: '0',
2306
+ },
2307
+ ],
2308
+ functionName: {
2309
+ name: 'revert',
2310
+ nodeType: 'YulIdentifier',
2311
+ src: '3003:6:12',
2312
+ },
2313
+ nodeType: 'YulFunctionCall',
2314
+ src: '3003:12:12',
2315
+ },
2316
+ nodeType: 'YulExpressionStatement',
2317
+ src: '3003:12:12',
2318
+ },
2319
+ ],
2320
+ },
2321
+ condition: {
2322
+ arguments: [
2323
+ {
2324
+ arguments: [
2325
+ {
2326
+ name: 'dataEnd',
2327
+ nodeType: 'YulIdentifier',
2328
+ src: '2976:7:12',
2329
+ },
2330
+ {
2331
+ name: 'headStart',
2332
+ nodeType: 'YulIdentifier',
2333
+ src: '2985:9:12',
2334
+ },
2335
+ ],
2336
+ functionName: {
2337
+ name: 'sub',
2338
+ nodeType: 'YulIdentifier',
2339
+ src: '2972:3:12',
2340
+ },
2341
+ nodeType: 'YulFunctionCall',
2342
+ src: '2972:23:12',
2343
+ },
2344
+ {
2345
+ kind: 'number',
2346
+ nodeType: 'YulLiteral',
2347
+ src: '2997:2:12',
2348
+ type: '',
2349
+ value: '32',
2350
+ },
2351
+ ],
2352
+ functionName: {
2353
+ name: 'slt',
2354
+ nodeType: 'YulIdentifier',
2355
+ src: '2968:3:12',
2356
+ },
2357
+ nodeType: 'YulFunctionCall',
2358
+ src: '2968:32:12',
2359
+ },
2360
+ nodeType: 'YulIf',
2361
+ src: '2965:52:12',
2362
+ },
2363
+ {
2364
+ nodeType: 'YulVariableDeclaration',
2365
+ src: '3026:36:12',
2366
+ value: {
2367
+ arguments: [
2368
+ {
2369
+ name: 'headStart',
2370
+ nodeType: 'YulIdentifier',
2371
+ src: '3052:9:12',
2372
+ },
2373
+ ],
2374
+ functionName: {
2375
+ name: 'calldataload',
2376
+ nodeType: 'YulIdentifier',
2377
+ src: '3039:12:12',
2378
+ },
2379
+ nodeType: 'YulFunctionCall',
2380
+ src: '3039:23:12',
2381
+ },
2382
+ variables: [
2383
+ {
2384
+ name: 'value',
2385
+ nodeType: 'YulTypedName',
2386
+ src: '3030:5:12',
2387
+ type: '',
2388
+ },
2389
+ ],
2390
+ },
2391
+ {
2392
+ body: {
2393
+ nodeType: 'YulBlock',
2394
+ src: '3148:16:12',
2395
+ statements: [
2396
+ {
2397
+ expression: {
2398
+ arguments: [
2399
+ {
2400
+ kind: 'number',
2401
+ nodeType: 'YulLiteral',
2402
+ src: '3157:1:12',
2403
+ type: '',
2404
+ value: '0',
2405
+ },
2406
+ {
2407
+ kind: 'number',
2408
+ nodeType: 'YulLiteral',
2409
+ src: '3160:1:12',
2410
+ type: '',
2411
+ value: '0',
2412
+ },
2413
+ ],
2414
+ functionName: {
2415
+ name: 'revert',
2416
+ nodeType: 'YulIdentifier',
2417
+ src: '3150:6:12',
2418
+ },
2419
+ nodeType: 'YulFunctionCall',
2420
+ src: '3150:12:12',
2421
+ },
2422
+ nodeType: 'YulExpressionStatement',
2423
+ src: '3150:12:12',
2424
+ },
2425
+ ],
2426
+ },
2427
+ condition: {
2428
+ arguments: [
2429
+ {
2430
+ arguments: [
2431
+ {
2432
+ name: 'value',
2433
+ nodeType: 'YulIdentifier',
2434
+ src: '3084:5:12',
2435
+ },
2436
+ {
2437
+ arguments: [
2438
+ {
2439
+ name: 'value',
2440
+ nodeType: 'YulIdentifier',
2441
+ src: '3095:5:12',
2442
+ },
2443
+ {
2444
+ kind: 'number',
2445
+ nodeType: 'YulLiteral',
2446
+ src: '3102:42:12',
2447
+ type: '',
2448
+ value: '0xffffffffffffffffffffffffffffffffffffffff',
2449
+ },
2450
+ ],
2451
+ functionName: {
2452
+ name: 'and',
2453
+ nodeType: 'YulIdentifier',
2454
+ src: '3091:3:12',
2455
+ },
2456
+ nodeType: 'YulFunctionCall',
2457
+ src: '3091:54:12',
2458
+ },
2459
+ ],
2460
+ functionName: {
2461
+ name: 'eq',
2462
+ nodeType: 'YulIdentifier',
2463
+ src: '3081:2:12',
2464
+ },
2465
+ nodeType: 'YulFunctionCall',
2466
+ src: '3081:65:12',
2467
+ },
2468
+ ],
2469
+ functionName: {
2470
+ name: 'iszero',
2471
+ nodeType: 'YulIdentifier',
2472
+ src: '3074:6:12',
2473
+ },
2474
+ nodeType: 'YulFunctionCall',
2475
+ src: '3074:73:12',
2476
+ },
2477
+ nodeType: 'YulIf',
2478
+ src: '3071:93:12',
2479
+ },
2480
+ {
2481
+ nodeType: 'YulAssignment',
2482
+ src: '3173:15:12',
2483
+ value: {
2484
+ name: 'value',
2485
+ nodeType: 'YulIdentifier',
2486
+ src: '3183:5:12',
2487
+ },
2488
+ variableNames: [
2489
+ {
2490
+ name: 'value0',
2491
+ nodeType: 'YulIdentifier',
2492
+ src: '3173:6:12',
2493
+ },
2494
+ ],
2495
+ },
2496
+ ],
2497
+ },
2498
+ name: 'abi_decode_tuple_t_address',
2499
+ nodeType: 'YulFunctionDefinition',
2500
+ parameters: [
2501
+ {
2502
+ name: 'headStart',
2503
+ nodeType: 'YulTypedName',
2504
+ src: '2921:9:12',
2505
+ type: '',
2506
+ },
2507
+ {
2508
+ name: 'dataEnd',
2509
+ nodeType: 'YulTypedName',
2510
+ src: '2932:7:12',
2511
+ type: '',
2512
+ },
2513
+ ],
2514
+ returnVariables: [
2515
+ {
2516
+ name: 'value0',
2517
+ nodeType: 'YulTypedName',
2518
+ src: '2944:6:12',
2519
+ type: '',
2520
+ },
2521
+ ],
2522
+ src: '2885:309:12',
2523
+ },
2524
+ {
2525
+ body: {
2526
+ nodeType: 'YulBlock',
2527
+ src: '3348:109:12',
2528
+ statements: [
2529
+ {
2530
+ expression: {
2531
+ arguments: [
2532
+ {
2533
+ name: 'headStart',
2534
+ nodeType: 'YulIdentifier',
2535
+ src: '3365:9:12',
2536
+ },
2537
+ {
2538
+ kind: 'number',
2539
+ nodeType: 'YulLiteral',
2540
+ src: '3376:2:12',
2541
+ type: '',
2542
+ value: '32',
2543
+ },
2544
+ ],
2545
+ functionName: {
2546
+ name: 'mstore',
2547
+ nodeType: 'YulIdentifier',
2548
+ src: '3358:6:12',
2549
+ },
2550
+ nodeType: 'YulFunctionCall',
2551
+ src: '3358:21:12',
2552
+ },
2553
+ nodeType: 'YulExpressionStatement',
2554
+ src: '3358:21:12',
2555
+ },
2556
+ {
2557
+ nodeType: 'YulAssignment',
2558
+ src: '3388:63:12',
2559
+ value: {
2560
+ arguments: [
2561
+ {
2562
+ name: 'value0',
2563
+ nodeType: 'YulIdentifier',
2564
+ src: '3424:6:12',
2565
+ },
2566
+ {
2567
+ arguments: [
2568
+ {
2569
+ name: 'headStart',
2570
+ nodeType: 'YulIdentifier',
2571
+ src: '3436:9:12',
2572
+ },
2573
+ {
2574
+ kind: 'number',
2575
+ nodeType: 'YulLiteral',
2576
+ src: '3447:2:12',
2577
+ type: '',
2578
+ value: '32',
2579
+ },
2580
+ ],
2581
+ functionName: {
2582
+ name: 'add',
2583
+ nodeType: 'YulIdentifier',
2584
+ src: '3432:3:12',
2585
+ },
2586
+ nodeType: 'YulFunctionCall',
2587
+ src: '3432:18:12',
2588
+ },
2589
+ ],
2590
+ functionName: {
2591
+ name: 'abi_encode_array_bytes4_dyn',
2592
+ nodeType: 'YulIdentifier',
2593
+ src: '3396:27:12',
2594
+ },
2595
+ nodeType: 'YulFunctionCall',
2596
+ src: '3396:55:12',
2597
+ },
2598
+ variableNames: [
2599
+ {
2600
+ name: 'tail',
2601
+ nodeType: 'YulIdentifier',
2602
+ src: '3388:4:12',
2603
+ },
2604
+ ],
2605
+ },
2606
+ ],
2607
+ },
2608
+ name: 'abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed',
2609
+ nodeType: 'YulFunctionDefinition',
2610
+ parameters: [
2611
+ {
2612
+ name: 'headStart',
2613
+ nodeType: 'YulTypedName',
2614
+ src: '3317:9:12',
2615
+ type: '',
2616
+ },
2617
+ {
2618
+ name: 'value0',
2619
+ nodeType: 'YulTypedName',
2620
+ src: '3328:6:12',
2621
+ type: '',
2622
+ },
2623
+ ],
2624
+ returnVariables: [
2625
+ {
2626
+ name: 'tail',
2627
+ nodeType: 'YulTypedName',
2628
+ src: '3339:4:12',
2629
+ type: '',
2630
+ },
2631
+ ],
2632
+ src: '3199:258:12',
2633
+ },
2634
+ {
2635
+ body: {
2636
+ nodeType: 'YulBlock',
2637
+ src: '3563:125:12',
2638
+ statements: [
2639
+ {
2640
+ nodeType: 'YulAssignment',
2641
+ src: '3573:26:12',
2642
+ value: {
2643
+ arguments: [
2644
+ {
2645
+ name: 'headStart',
2646
+ nodeType: 'YulIdentifier',
2647
+ src: '3585:9:12',
2648
+ },
2649
+ {
2650
+ kind: 'number',
2651
+ nodeType: 'YulLiteral',
2652
+ src: '3596:2:12',
2653
+ type: '',
2654
+ value: '32',
2655
+ },
2656
+ ],
2657
+ functionName: {
2658
+ name: 'add',
2659
+ nodeType: 'YulIdentifier',
2660
+ src: '3581:3:12',
2661
+ },
2662
+ nodeType: 'YulFunctionCall',
2663
+ src: '3581:18:12',
2664
+ },
2665
+ variableNames: [
2666
+ {
2667
+ name: 'tail',
2668
+ nodeType: 'YulIdentifier',
2669
+ src: '3573:4:12',
2670
+ },
2671
+ ],
2672
+ },
2673
+ {
2674
+ expression: {
2675
+ arguments: [
2676
+ {
2677
+ name: 'headStart',
2678
+ nodeType: 'YulIdentifier',
2679
+ src: '3615:9:12',
2680
+ },
2681
+ {
2682
+ arguments: [
2683
+ {
2684
+ name: 'value0',
2685
+ nodeType: 'YulIdentifier',
2686
+ src: '3630:6:12',
2687
+ },
2688
+ {
2689
+ kind: 'number',
2690
+ nodeType: 'YulLiteral',
2691
+ src: '3638:42:12',
2692
+ type: '',
2693
+ value: '0xffffffffffffffffffffffffffffffffffffffff',
2694
+ },
2695
+ ],
2696
+ functionName: {
2697
+ name: 'and',
2698
+ nodeType: 'YulIdentifier',
2699
+ src: '3626:3:12',
2700
+ },
2701
+ nodeType: 'YulFunctionCall',
2702
+ src: '3626:55:12',
2703
+ },
2704
+ ],
2705
+ functionName: {
2706
+ name: 'mstore',
2707
+ nodeType: 'YulIdentifier',
2708
+ src: '3608:6:12',
2709
+ },
2710
+ nodeType: 'YulFunctionCall',
2711
+ src: '3608:74:12',
2712
+ },
2713
+ nodeType: 'YulExpressionStatement',
2714
+ src: '3608:74:12',
2715
+ },
2716
+ ],
2717
+ },
2718
+ name: 'abi_encode_tuple_t_address__to_t_address__fromStack_reversed',
2719
+ nodeType: 'YulFunctionDefinition',
2720
+ parameters: [
2721
+ {
2722
+ name: 'headStart',
2723
+ nodeType: 'YulTypedName',
2724
+ src: '3532:9:12',
2725
+ type: '',
2726
+ },
2727
+ {
2728
+ name: 'value0',
2729
+ nodeType: 'YulTypedName',
2730
+ src: '3543:6:12',
2731
+ type: '',
2732
+ },
2733
+ ],
2734
+ returnVariables: [
2735
+ {
2736
+ name: 'tail',
2737
+ nodeType: 'YulTypedName',
2738
+ src: '3554:4:12',
2739
+ type: '',
2740
+ },
2741
+ ],
2742
+ src: '3462:226:12',
2743
+ },
2744
+ {
2745
+ body: {
2746
+ nodeType: 'YulBlock',
2747
+ src: '3725:152:12',
2748
+ statements: [
2749
+ {
2750
+ expression: {
2751
+ arguments: [
2752
+ {
2753
+ kind: 'number',
2754
+ nodeType: 'YulLiteral',
2755
+ src: '3742:1:12',
2756
+ type: '',
2757
+ value: '0',
2758
+ },
2759
+ {
2760
+ kind: 'number',
2761
+ nodeType: 'YulLiteral',
2762
+ src: '3745:77:12',
2763
+ type: '',
2764
+ value: '35408467139433450592217433187231851964531694900788300625387963629091585785856',
2765
+ },
2766
+ ],
2767
+ functionName: {
2768
+ name: 'mstore',
2769
+ nodeType: 'YulIdentifier',
2770
+ src: '3735:6:12',
2771
+ },
2772
+ nodeType: 'YulFunctionCall',
2773
+ src: '3735:88:12',
2774
+ },
2775
+ nodeType: 'YulExpressionStatement',
2776
+ src: '3735:88:12',
2777
+ },
2778
+ {
2779
+ expression: {
2780
+ arguments: [
2781
+ {
2782
+ kind: 'number',
2783
+ nodeType: 'YulLiteral',
2784
+ src: '3839:1:12',
2785
+ type: '',
2786
+ value: '4',
2787
+ },
2788
+ {
2789
+ kind: 'number',
2790
+ nodeType: 'YulLiteral',
2791
+ src: '3842:4:12',
2792
+ type: '',
2793
+ value: '0x41',
2794
+ },
2795
+ ],
2796
+ functionName: {
2797
+ name: 'mstore',
2798
+ nodeType: 'YulIdentifier',
2799
+ src: '3832:6:12',
2800
+ },
2801
+ nodeType: 'YulFunctionCall',
2802
+ src: '3832:15:12',
2803
+ },
2804
+ nodeType: 'YulExpressionStatement',
2805
+ src: '3832:15:12',
2806
+ },
2807
+ {
2808
+ expression: {
2809
+ arguments: [
2810
+ {
2811
+ kind: 'number',
2812
+ nodeType: 'YulLiteral',
2813
+ src: '3863:1:12',
2814
+ type: '',
2815
+ value: '0',
2816
+ },
2817
+ {
2818
+ kind: 'number',
2819
+ nodeType: 'YulLiteral',
2820
+ src: '3866:4:12',
2821
+ type: '',
2822
+ value: '0x24',
2823
+ },
2824
+ ],
2825
+ functionName: {
2826
+ name: 'revert',
2827
+ nodeType: 'YulIdentifier',
2828
+ src: '3856:6:12',
2829
+ },
2830
+ nodeType: 'YulFunctionCall',
2831
+ src: '3856:15:12',
2832
+ },
2833
+ nodeType: 'YulExpressionStatement',
2834
+ src: '3856:15:12',
2835
+ },
2836
+ ],
2837
+ },
2838
+ name: 'panic_error_0x41',
2839
+ nodeType: 'YulFunctionDefinition',
2840
+ src: '3693:184:12',
2841
+ },
2842
+ {
2843
+ body: {
2844
+ nodeType: 'YulBlock',
2845
+ src: '3914:152:12',
2846
+ statements: [
2847
+ {
2848
+ expression: {
2849
+ arguments: [
2850
+ {
2851
+ kind: 'number',
2852
+ nodeType: 'YulLiteral',
2853
+ src: '3931:1:12',
2854
+ type: '',
2855
+ value: '0',
2856
+ },
2857
+ {
2858
+ kind: 'number',
2859
+ nodeType: 'YulLiteral',
2860
+ src: '3934:77:12',
2861
+ type: '',
2862
+ value: '35408467139433450592217433187231851964531694900788300625387963629091585785856',
2863
+ },
2864
+ ],
2865
+ functionName: {
2866
+ name: 'mstore',
2867
+ nodeType: 'YulIdentifier',
2868
+ src: '3924:6:12',
2869
+ },
2870
+ nodeType: 'YulFunctionCall',
2871
+ src: '3924:88:12',
2872
+ },
2873
+ nodeType: 'YulExpressionStatement',
2874
+ src: '3924:88:12',
2875
+ },
2876
+ {
2877
+ expression: {
2878
+ arguments: [
2879
+ {
2880
+ kind: 'number',
2881
+ nodeType: 'YulLiteral',
2882
+ src: '4028:1:12',
2883
+ type: '',
2884
+ value: '4',
2885
+ },
2886
+ {
2887
+ kind: 'number',
2888
+ nodeType: 'YulLiteral',
2889
+ src: '4031:4:12',
2890
+ type: '',
2891
+ value: '0x32',
2892
+ },
2893
+ ],
2894
+ functionName: {
2895
+ name: 'mstore',
2896
+ nodeType: 'YulIdentifier',
2897
+ src: '4021:6:12',
2898
+ },
2899
+ nodeType: 'YulFunctionCall',
2900
+ src: '4021:15:12',
2901
+ },
2902
+ nodeType: 'YulExpressionStatement',
2903
+ src: '4021:15:12',
2904
+ },
2905
+ {
2906
+ expression: {
2907
+ arguments: [
2908
+ {
2909
+ kind: 'number',
2910
+ nodeType: 'YulLiteral',
2911
+ src: '4052:1:12',
2912
+ type: '',
2913
+ value: '0',
2914
+ },
2915
+ {
2916
+ kind: 'number',
2917
+ nodeType: 'YulLiteral',
2918
+ src: '4055:4:12',
2919
+ type: '',
2920
+ value: '0x24',
2921
+ },
2922
+ ],
2923
+ functionName: {
2924
+ name: 'revert',
2925
+ nodeType: 'YulIdentifier',
2926
+ src: '4045:6:12',
2927
+ },
2928
+ nodeType: 'YulFunctionCall',
2929
+ src: '4045:15:12',
2930
+ },
2931
+ nodeType: 'YulExpressionStatement',
2932
+ src: '4045:15:12',
2933
+ },
2934
+ ],
2935
+ },
2936
+ name: 'panic_error_0x32',
2937
+ nodeType: 'YulFunctionDefinition',
2938
+ src: '3882:184:12',
2939
+ },
2940
+ {
2941
+ body: {
2942
+ nodeType: 'YulBlock',
2943
+ src: '4118:302:12',
2944
+ statements: [
2945
+ {
2946
+ body: {
2947
+ nodeType: 'YulBlock',
2948
+ src: '4217:168:12',
2949
+ statements: [
2950
+ {
2951
+ expression: {
2952
+ arguments: [
2953
+ {
2954
+ kind: 'number',
2955
+ nodeType: 'YulLiteral',
2956
+ src: '4238:1:12',
2957
+ type: '',
2958
+ value: '0',
2959
+ },
2960
+ {
2961
+ kind: 'number',
2962
+ nodeType: 'YulLiteral',
2963
+ src: '4241:77:12',
2964
+ type: '',
2965
+ value:
2966
+ '35408467139433450592217433187231851964531694900788300625387963629091585785856',
2967
+ },
2968
+ ],
2969
+ functionName: {
2970
+ name: 'mstore',
2971
+ nodeType: 'YulIdentifier',
2972
+ src: '4231:6:12',
2973
+ },
2974
+ nodeType: 'YulFunctionCall',
2975
+ src: '4231:88:12',
2976
+ },
2977
+ nodeType: 'YulExpressionStatement',
2978
+ src: '4231:88:12',
2979
+ },
2980
+ {
2981
+ expression: {
2982
+ arguments: [
2983
+ {
2984
+ kind: 'number',
2985
+ nodeType: 'YulLiteral',
2986
+ src: '4339:1:12',
2987
+ type: '',
2988
+ value: '4',
2989
+ },
2990
+ {
2991
+ kind: 'number',
2992
+ nodeType: 'YulLiteral',
2993
+ src: '4342:4:12',
2994
+ type: '',
2995
+ value: '0x11',
2996
+ },
2997
+ ],
2998
+ functionName: {
2999
+ name: 'mstore',
3000
+ nodeType: 'YulIdentifier',
3001
+ src: '4332:6:12',
3002
+ },
3003
+ nodeType: 'YulFunctionCall',
3004
+ src: '4332:15:12',
3005
+ },
3006
+ nodeType: 'YulExpressionStatement',
3007
+ src: '4332:15:12',
3008
+ },
3009
+ {
3010
+ expression: {
3011
+ arguments: [
3012
+ {
3013
+ kind: 'number',
3014
+ nodeType: 'YulLiteral',
3015
+ src: '4367:1:12',
3016
+ type: '',
3017
+ value: '0',
3018
+ },
3019
+ {
3020
+ kind: 'number',
3021
+ nodeType: 'YulLiteral',
3022
+ src: '4370:4:12',
3023
+ type: '',
3024
+ value: '0x24',
3025
+ },
3026
+ ],
3027
+ functionName: {
3028
+ name: 'revert',
3029
+ nodeType: 'YulIdentifier',
3030
+ src: '4360:6:12',
3031
+ },
3032
+ nodeType: 'YulFunctionCall',
3033
+ src: '4360:15:12',
3034
+ },
3035
+ nodeType: 'YulExpressionStatement',
3036
+ src: '4360:15:12',
3037
+ },
3038
+ ],
3039
+ },
3040
+ condition: {
3041
+ arguments: [
3042
+ {
3043
+ name: 'value',
3044
+ nodeType: 'YulIdentifier',
3045
+ src: '4134:5:12',
3046
+ },
3047
+ {
3048
+ kind: 'number',
3049
+ nodeType: 'YulLiteral',
3050
+ src: '4141:66:12',
3051
+ type: '',
3052
+ value: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff',
3053
+ },
3054
+ ],
3055
+ functionName: {
3056
+ name: 'eq',
3057
+ nodeType: 'YulIdentifier',
3058
+ src: '4131:2:12',
3059
+ },
3060
+ nodeType: 'YulFunctionCall',
3061
+ src: '4131:77:12',
3062
+ },
3063
+ nodeType: 'YulIf',
3064
+ src: '4128:257:12',
3065
+ },
3066
+ {
3067
+ nodeType: 'YulAssignment',
3068
+ src: '4394:20:12',
3069
+ value: {
3070
+ arguments: [
3071
+ {
3072
+ name: 'value',
3073
+ nodeType: 'YulIdentifier',
3074
+ src: '4405:5:12',
3075
+ },
3076
+ {
3077
+ kind: 'number',
3078
+ nodeType: 'YulLiteral',
3079
+ src: '4412:1:12',
3080
+ type: '',
3081
+ value: '1',
3082
+ },
3083
+ ],
3084
+ functionName: {
3085
+ name: 'add',
3086
+ nodeType: 'YulIdentifier',
3087
+ src: '4401:3:12',
3088
+ },
3089
+ nodeType: 'YulFunctionCall',
3090
+ src: '4401:13:12',
3091
+ },
3092
+ variableNames: [
3093
+ {
3094
+ name: 'ret',
3095
+ nodeType: 'YulIdentifier',
3096
+ src: '4394:3:12',
3097
+ },
3098
+ ],
3099
+ },
3100
+ ],
3101
+ },
3102
+ name: 'increment_t_uint256',
3103
+ nodeType: 'YulFunctionDefinition',
3104
+ parameters: [
3105
+ {
3106
+ name: 'value',
3107
+ nodeType: 'YulTypedName',
3108
+ src: '4100:5:12',
3109
+ type: '',
3110
+ },
3111
+ ],
3112
+ returnVariables: [
3113
+ {
3114
+ name: 'ret',
3115
+ nodeType: 'YulTypedName',
3116
+ src: '4110:3:12',
3117
+ type: '',
3118
+ },
3119
+ ],
3120
+ src: '4071:349:12',
3121
+ },
3122
+ ],
3123
+ },
3124
+ contents:
3125
+ '{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 64)\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffffffffffffffffffffffffffffffffffff))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n tail := pos\n }\n function abi_encode_array_bytes4_dyn(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n let _1 := 0x20\n pos := add(pos, _1)\n let srcPtr := add(value, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n end := pos\n }\n function abi_encode_tuple_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$690_memory_ptr_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 64\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, shl(5, length)), _2)\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0))\n let _3 := mload(srcPtr)\n mstore(tail_2, and(mload(_3), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_3, _1))\n mstore(add(tail_2, _1), _2)\n tail_2 := abi_encode_array_bytes4_dyn(memberValue0, add(tail_2, _2))\n srcPtr := add(srcPtr, _1)\n pos := add(pos, _1)\n }\n tail := tail_2\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_array_bytes4_dyn(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function panic_error_0x41()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n}',
3126
+ id: 12,
3127
+ language: 'Yul',
3128
+ name: '#utility.yul',
3129
+ },
3130
+ ],
3131
+ immutableReferences: {},
3132
+ linkReferences: {},
3133
+ opcodes:
3134
+ 'PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xFA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0x12F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0xE5 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD0 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xED PUSH2 0x1CB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x102 PUSH2 0x25D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x669 JUMP JUMPDEST PUSH2 0x122 PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0x711 JUMP JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x1A6 PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDC JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x252 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x227 JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131E SLOAD PUSH1 0x60 SWAP1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BD JUMPI PUSH2 0x2BD PUSH2 0x75A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x303 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2DB JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x463 JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x328 JUMPI PUSH2 0x328 PUSH2 0x789 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x368 JUMPI PUSH2 0x368 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x429 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3D6 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x440 JUMPI PUSH2 0x440 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD DUP2 SWAP1 MSTORE POP POP DUP1 DUP1 PUSH2 0x45B SWAP1 PUSH2 0x7B8 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x309 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131D PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE PUSH1 0x60 SWAP4 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x509 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x57B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x600 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5CE JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x65E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x620 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD DUP5 DUP9 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x703 JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6F0 DUP8 DUP6 ADD DUP3 PUSH2 0x60C JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x690 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x723 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x5AB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x60C JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x811 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD2 0xF6 0xC2 EXTCODESIZE 0xC PUSH5 0xEFFD7424EB SWAP14 0xA8 0xE1 EXTCODECOPY 0xC0 0xA6 0x2F 0xAB SWAP10 SWAP1 PUSH5 0x3CE1A7BC54 0xF8 ADDRESS 0xCC PUSH23 0x8464736F6C634300080A00330000000000000000000000 ',
3135
+ sourceMap:
3136
+ '539:2484:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2799:222;;;;;;:::i;:::-;2978:36;;2879:4;2978:36;;;:22;:36;;;;;;;;;2799:222;;;;516:14:12;;509:22;491:41;;479:2;464:18;2799:222:3;;;;;;;;2038:220;;;:::i;:::-;;;;;;;:::i;967:523::-;;;:::i;:::-;;;;;;;:::i;1646:291::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2488:273::-;;;;;;:::i;:::-;2693:48;;2568:21;2693:48;;;492:45:11;2693:48:3;;;;;:61;;;;2488:273;;;;3638:42:12;3626:55;;;3608:74;;3596:2;3581:18;2488:273:3;3462:226:12;2038:220:3;2096:32;2140:36;492:45:11;2234:17:3;;;2216:35;;;;;;;;;;;;;;;;;;;2140:66;;-1:-1:-1;2216:35:3;;2234:17;2216:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2130:128;2038:220;:::o;967:523::-;1147:17;:24;1017:22;;492:45:11;;1147:24:3;1191:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;1191:22:3;;;;;;;;;;;;;;;;1181:32;;1228:9;1223:261;1243:9;1239:1;:13;1223:261;;;1273:21;1297:2;:17;;1315:1;1297:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1273:44;;1357:13;1331:7;1339:1;1331:10;;;;;;;;:::i;:::-;;;;;;;;;;;;:39;;;;;;1415:40;;;1331:23;1415:40;;;:25;;;:40;;;;;;;1384:89;;;;;;;;;;;;;;;;;;;1415:40;;1384:89;;;1415:40;1384:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:7;1392:1;1384:10;;;;;;;;:::i;:::-;;;;;;;:28;;:89;;;;1259:225;1254:3;;;;;:::i;:::-;;;;1223:261;;;;1041:449;;967:523;:::o;1646:291::-;1879:33;;;1777:36;1879:33;;;:25;:33;;;;;;;;;1853:77;;;;;;;;;;;;;;;;;1726:39;;492:45:11;;1853:77:3;;1879:33;1853:77;;;1879:33;1853:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1767:170;1646:291;;;:::o;14:332:12:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:12:o;543:681::-;714:2;766:21;;;836:13;;739:18;;;858:22;;;685:4;;714:2;937:15;;;;911:2;896:18;;;685:4;980:218;994:6;991:1;988:13;980:218;;;1059:13;;1074:42;1055:62;1043:75;;1173:15;;;;1138:12;;;;1016:1;1009:9;980:218;;;-1:-1:-1;1215:3:12;;543:681;-1:-1:-1;;;;;;543:681:12:o;1229:507::-;1281:3;1319:5;1313:12;1346:6;1341:3;1334:19;1372:4;1401:2;1396:3;1392:12;1385:19;;1438:2;1431:5;1427:14;1459:1;1469:242;1483:6;1480:1;1477:13;1469:242;;;1548:13;;1563:66;1544:86;1532:99;;1651:12;;;;1686:15;;;;1505:1;1498:9;1469:242;;;-1:-1:-1;1727:3:12;;1229:507;-1:-1:-1;;;;;1229:507:12:o;1741:1139::-;1927:4;1956:2;1996;1985:9;1981:18;2026:2;2015:9;2008:21;2049:6;2084;2078:13;2115:6;2107;2100:22;2141:2;2131:12;;2174:2;2163:9;2159:18;2152:25;;2236:2;2226:6;2223:1;2219:14;2208:9;2204:30;2200:39;2274:2;2266:6;2262:15;2295:1;2305:546;2319:6;2316:1;2313:13;2305:546;;;2384:22;;;2408:66;2380:95;2368:108;;2499:13;;2544:9;;2555:42;2540:58;2525:74;;2638:11;;2632:18;2670:15;;;2663:27;;;2713:58;2755:15;;;2632:18;2713:58;:::i;:::-;2829:12;;;;2703:68;-1:-1:-1;;2794:15:12;;;;2341:1;2334:9;2305:546;;;-1:-1:-1;2868:6:12;;1741:1139;-1:-1:-1;;;;;;;;1741:1139:12:o;2885:309::-;2944:6;2997:2;2985:9;2976:7;2972:23;2968:32;2965:52;;;3013:1;3010;3003:12;2965:52;3052:9;3039:23;3102:42;3095:5;3091:54;3084:5;3081:65;3071:93;;3160:1;3157;3150:12;3199:258;3376:2;3365:9;3358:21;3339:4;3396:55;3447:2;3436:9;3432:18;3424:6;3396:55;:::i;3693:184::-;3745:77;3742:1;3735:88;3842:4;3839:1;3832:15;3866:4;3863:1;3856:15;3882:184;3934:77;3931:1;3924:88;4031:4;4028:1;4021:15;4055:4;4052:1;4045:15;4071:349;4110:3;4141:66;4134:5;4131:77;4128:257;;;4241:77;4238:1;4231:88;4342:4;4339:1;4332:15;4370:4;4367:1;4360:15;4128:257;-1:-1:-1;4412:1:12;4401:13;;4071:349::o',
3137
+ },
3138
+ gasEstimates: {
3139
+ creation: {
3140
+ codeDepositCost: '425200',
3141
+ executionCost: '461',
3142
+ totalCost: '425661',
3143
+ },
3144
+ external: {
3145
+ 'facetAddress(bytes4)': '2537',
3146
+ 'facetAddresses()': 'infinite',
3147
+ 'facetFunctionSelectors(address)': 'infinite',
3148
+ 'facets()': 'infinite',
3149
+ 'supportsInterface(bytes4)': '2480',
3150
+ },
3151
+ },
3152
+ methodIdentifiers: {
3153
+ 'facetAddress(bytes4)': 'cdffacc6',
3154
+ 'facetAddresses()': '52ef6b2c',
3155
+ 'facetFunctionSelectors(address)': 'adfca15e',
3156
+ 'facets()': '7a0ed627',
3157
+ 'supportsInterface(bytes4)': '01ffc9a7',
3158
+ },
3159
+ },
3160
+ metadata:
3161
+ '{"compiler":{"version":"0.8.10+commit.fc410830"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"bytes4","name":"_functionSelector","type":"bytes4"}],"name":"facetAddress","outputs":[{"internalType":"address","name":"facetAddress_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"facetAddresses","outputs":[{"internalType":"address[]","name":"facetAddresses_","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_facet","type":"address"}],"name":"facetFunctionSelectors","outputs":[{"internalType":"bytes4[]","name":"facetFunctionSelectors_","type":"bytes4[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"facets","outputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamondLoupe.Facet[]","name":"facets_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"facetAddress(bytes4)":{"details":"If facet is not found return address(0).","params":{"_functionSelector":"The function selector."},"returns":{"facetAddress_":"The facet address."}},"facetAddresses()":{"returns":{"facetAddresses_":"facetAddresses_"}},"facetFunctionSelectors(address)":{"params":{"_facet":"The facet address."},"returns":{"facetFunctionSelectors_":"facetFunctionSelectors_"}},"facets()":{"returns":{"facets_":"Facet"}}},"version":1},"userdoc":{"kind":"user","methods":{"facetAddress(bytes4)":{"notice":"Gets the facet that supports the given selector."},"facetAddresses()":{"notice":"Get all the facet addresses used by a diamond."},"facetFunctionSelectors(address)":{"notice":"Gets all the function selectors provided by a facet."},"facets()":{"notice":"Gets all facets and their selectors."}},"version":1}},"settings":{"compilationTarget":{"solc_0.8/diamond/facets/DiamondLoupeFacet.sol":"DiamondLoupeFacet"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"ipfs","useLiteralContent":true},"optimizer":{"enabled":true,"runs":999999},"remappings":[]},"sources":{"solc_0.8/diamond/facets/DiamondLoupeFacet.sol":{"content":"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\"../libraries/LibDiamond.sol\\";\\nimport { IDiamondLoupe } from \\"../interfaces/IDiamondLoupe.sol\\";\\nimport { IERC165 } from \\"../interfaces/IERC165.sol\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n","keccak256":"0x40116a553fb6b8e25371199648a526d61eefee47ba24f0909b00c7301dec612e","license":"MIT"},"solc_0.8/diamond/interfaces/IDiamondCut.sol":{"content":"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n","keccak256":"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc","license":"MIT"},"solc_0.8/diamond/interfaces/IDiamondLoupe.sol":{"content":"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n","keccak256":"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7","license":"MIT"},"solc_0.8/diamond/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n","keccak256":"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b","license":"MIT"},"solc_0.8/diamond/libraries/LibDiamond.sol":{"content":"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\"../interfaces/IDiamondCut.sol\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\"diamond.standard.diamond.storage\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\"LibDiamond: Must be contract owner\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\"LibDiamondCut: Incorrect FacetCutAction\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\"LibDiamondCut: Add facet can\'t be address(0)\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\"LibDiamondCut: Can\'t add function that already exists\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\"LibDiamondCut: Add facet can\'t be address(0)\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\"LibDiamondCut: Can\'t replace function with same function\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\"LibDiamondCut: Remove facet address must be address(0)\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\"LibDiamondCut: New facet has no code\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\"LibDiamondCut: Can\'t remove function that doesn\'t exist\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\"LibDiamondCut: Can\'t remove immutable function\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\"LibDiamondCut: _init is address(0) but_calldata is not empty\\");\\n } else {\\n require(_calldata.length > 0, \\"LibDiamondCut: _calldata is empty but _init is not address(0)\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\"LibDiamondCut: _init address has no code\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\"LibDiamondCut: _init function reverted\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n","keccak256":"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37","license":"MIT"}},"version":1}',
3162
+ storageLayout: {
3163
+ storage: [],
3164
+ types: null,
3165
+ },
3166
+ userdoc: {
3167
+ kind: 'user',
3168
+ methods: {
3169
+ 'facetAddress(bytes4)': {
3170
+ notice: 'Gets the facet that supports the given selector.',
3171
+ },
3172
+ 'facetAddresses()': {
3173
+ notice: 'Get all the facet addresses used by a diamond.',
3174
+ },
3175
+ 'facetFunctionSelectors(address)': {
3176
+ notice: 'Gets all the function selectors provided by a facet.',
3177
+ },
3178
+ 'facets()': {
3179
+ notice: 'Gets all facets and their selectors.',
3180
+ },
3181
+ },
3182
+ version: 1,
3183
+ },
3184
+ solcInput:
3185
+ '{\n "language": "Solidity",\n "sources": {\n "solc_0.8/diamond/Diamond.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\"./libraries/LibDiamond.sol\\";\\nimport {IDiamondCut} from \\"./interfaces/IDiamondCut.sol\\";\\n\\ncontract Diamond {\\n struct Initialization {\\n address initContract;\\n bytes initData;\\n }\\n\\n /// @notice This construct a diamond contract\\n /// @param _contractOwner the owner of the contract. With default DiamondCutFacet, this is the sole address allowed to make further cuts.\\n /// @param _diamondCut the list of facet to add\\n /// @param _initializations the list of initialization pair to execute. This allow to setup a contract with multiple level of independent initialization.\\n constructor(\\n address _contractOwner,\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n Initialization[] memory _initializations\\n ) payable {\\n if (_contractOwner != address(0)) {\\n LibDiamond.setContractOwner(_contractOwner);\\n }\\n\\n LibDiamond.diamondCut(_diamondCut, address(0), \\"\\");\\n\\n for (uint256 i = 0; i < _initializations.length; i++) {\\n LibDiamond.initializeDiamondCut(_initializations[i].initContract, _initializations[i].initData);\\n }\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\"Diamond: Function does not exist\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n"\n },\n "solc_0.8/diamond/libraries/LibDiamond.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\"../interfaces/IDiamondCut.sol\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\"diamond.standard.diamond.storage\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\"LibDiamond: Must be contract owner\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\"LibDiamondCut: Incorrect FacetCutAction\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\"LibDiamondCut: Add facet can\'t be address(0)\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\"LibDiamondCut: Can\'t add function that already exists\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\"LibDiamondCut: Add facet can\'t be address(0)\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\"LibDiamondCut: Can\'t replace function with same function\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\"LibDiamondCut: No selectors in facet to cut\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\"LibDiamondCut: Remove facet address must be address(0)\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\"LibDiamondCut: New facet has no code\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\"LibDiamondCut: Can\'t remove function that doesn\'t exist\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\"LibDiamondCut: Can\'t remove immutable function\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\"LibDiamondCut: _init is address(0) but_calldata is not empty\\");\\n } else {\\n require(_calldata.length > 0, \\"LibDiamondCut: _calldata is empty but _init is not address(0)\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\"LibDiamondCut: _init address has no code\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\"LibDiamondCut: _init function reverted\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n"\n },\n "solc_0.8/diamond/interfaces/IDiamondCut.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n"\n },\n "solc_0.8/diamond/facets/DiamondCutFacet.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\"../interfaces/IDiamondCut.sol\\";\\nimport { LibDiamond } from \\"../libraries/LibDiamond.sol\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n"\n },\n "solc_0.8/diamond/UsingDiamondOwner.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\"./libraries/LibDiamond.sol\\";\\n\\ncontract UsingDiamondOwner {\\n modifier onlyOwner() {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n require(msg.sender == ds.contractOwner, \\"Only owner is allowed to perform this action\\");\\n _;\\n }\\n}\\n"\n },\n "solc_0.8/diamond/initializers/DiamondERC165Init.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {LibDiamond} from \\"../libraries/LibDiamond.sol\\";\\nimport {IERC165} from \\"../interfaces/IERC165.sol\\";\\n\\ncontract DiamondERC165Init {\\n /// @notice set or unset ERC165 using DiamondStorage.supportedInterfaces\\n /// @param interfaceIds list of interface id to set as supported\\n /// @param interfaceIdsToRemove list of interface id to unset as supported.\\n /// Technically, you can remove support of ERC165 by having the IERC165 id itself being part of that array.\\n function setERC165(bytes4[] calldata interfaceIds, bytes4[] calldata interfaceIdsToRemove) external {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n\\n for (uint256 i = 0; i < interfaceIds.length; i++) {\\n ds.supportedInterfaces[interfaceIds[i]] = true;\\n }\\n\\n for (uint256 i = 0; i < interfaceIdsToRemove.length; i++) {\\n ds.supportedInterfaces[interfaceIdsToRemove[i]] = false;\\n }\\n }\\n}\\n"\n },\n "solc_0.8/diamond/interfaces/IERC165.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n"\n },\n "solc_0.8/diamond/facets/DiamondLoupeFacet.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\"../libraries/LibDiamond.sol\\";\\nimport { IDiamondLoupe } from \\"../interfaces/IDiamondLoupe.sol\\";\\nimport { IERC165 } from \\"../interfaces/IERC165.sol\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n"\n },\n "solc_0.8/diamond/interfaces/IDiamondLoupe.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n"\n },\n "solc_0.8/diamond/facets/DiamondLoupeFacetWithoutSupportsInterface.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\"../libraries/LibDiamond.sol\\";\\nimport {IDiamondLoupe} from \\"../interfaces/IDiamondLoupe.sol\\";\\n\\ncontract DiamondLoupeFacetWithoutSupportsInterface is IDiamondLoupe {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external view override returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view override returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view override returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view override returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n}\\n"\n },\n "solc_0.8/diamond/facets/OwnershipFacet.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\"../libraries/LibDiamond.sol\\";\\nimport { IERC173 } from \\"../interfaces/IERC173.sol\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n"\n },\n "solc_0.8/diamond/interfaces/IERC173.sol": {\n "content": "// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n"\n }\n },\n "settings": {\n "optimizer": {\n "enabled": true,\n "runs": 999999\n },\n "outputSelection": {\n "*": {\n "*": [\n "abi",\n "evm.bytecode",\n "evm.deployedBytecode",\n "evm.methodIdentifiers",\n "metadata",\n "devdoc",\n "userdoc",\n "storageLayout",\n "evm.gasEstimates"\n ],\n "": [\n "ast"\n ]\n }\n },\n "metadata": {\n "useLiteralContent": true\n }\n }\n}',
3186
+ solcInputHash: '3fe12e823553336a8d0f950a5a792ac9',
3187
+ } as const;