From 5ac7ff70846562386e9cc783ccce2464dc43f221 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 7 Aug 2019 12:44:16 -0400 Subject: [PATCH] Generate wrappers for all contracts (#2010) * abi-gen/Py: fix return type for multi-val returns Methods that return multiple values were broken in two ways. One: a spurious newline was being injected between the return type and the colon ending the Python method prototype. Two: the return type was being generated as just `[TypeA, TypeB]`, whereas it should be `Tuple[TypeA, TypeB]`. * abi-gen/Py: fix support for arrays of structs * abi-gen/Py: FAILING test case nested unrefd struct When a struct contains another struct, and the inner struct is not directly referenced by any method interface, wrapper generation is failing to render a class to represent the inner struct. This won't fail in CI because at this time CI doesn't run any native Python tooling to analyze the generated code. Running mypy locally on the files in this commit produces the following output: test-cli/output/python/abi_gen_dummy/__init__.py:76: error: Name 'Tuple0x246f9407' is not defined This problem affects the generation of wrappers for the DutchAuction contract. * abi-gen/Py: fix nested unref'd struct failure * abi-gen/Py: introduce newlines to quiet linter When generating contracts with long names (eg CoordinatorRegistryValidator), the `black` reformatter was introducing these newlines for us, and it was moving the `# type: ignore` comment in there such that it no longer was on the line it needed to be on. Introducing these newlines manually (instead of letting black inject them) allows the linter directive to stay where it needs to be. * abi-gen/Py: declare tuples in dependency order * abi-gen/Py: fix support for overloaded methods * contract_wrappers.py: pylint: permit 2-char args By default pylint says that 2 characters is too short for an argument name, but we have some contract methods with 2-character argument names (eg `to` in `AssetProxyOwner.getTransactionIds()`), so we want to permit them. * contract_wrappers.py: include all contracts * Update CHANGELOGs * abi-gen: rename variable * abi-gen: refine comments * abi-gen/Py: reword tuple class docstring --- .gitignore | 18 + .../Python/contract.handlebars | 8 +- .../Python/partials/method_class.handlebars | 2 +- .../Python/partials/return_type.handlebars | 4 +- packages/abi-gen/CHANGELOG.json | 20 + packages/abi-gen/package.json | 2 + packages/abi-gen/src/index.ts | 45 +- packages/abi-gen/src/utils.ts | 26 +- .../python/abi_gen_dummy/__init__.py | 314 +++++++++++-- .../python/lib_dummy/__init__.py | 4 +- .../python/test_lib_dummy/__init__.py | 4 +- .../typescript/abi_gen_dummy.ts | 442 ++++++++++++++++++ .../fixtures/artifacts/AbiGenDummy.json | 120 ++++- .../fixtures/contracts/AbiGenDummy.sol | 23 + .../python-contract-wrappers/package.json | 2 +- python-packages/contract_wrappers/.pylintrc | 4 + .../contract_wrappers/CHANGELOG.md | 1 + python-packages/contract_wrappers/setup.py | 94 ++-- .../asset_proxy_owner/.gitkeep | 0 .../contract_wrappers/coordinator/.gitkeep | 0 .../coordinator_registry/.gitkeep | 0 .../dummy_erc20_token/.gitkeep | 0 .../dummy_erc721_token/.gitkeep | 0 .../contract_wrappers/dutch_auction/.gitkeep | 0 .../contract_wrappers/erc20_proxy/.gitkeep | 0 .../contract_wrappers/erc721_proxy/.gitkeep | 0 .../contract_wrappers/erc721_token/.gitkeep | 0 .../eth_balance_checker/.gitkeep | 0 .../contract_wrappers/forwarder/.gitkeep | 0 .../contract_wrappers/i_asset_proxy/.gitkeep | 0 .../contract_wrappers/i_validator/.gitkeep | 0 .../contract_wrappers/i_wallet/.gitkeep | 0 .../multi_asset_proxy/.gitkeep | 0 .../order_validator/.gitkeep | 0 .../zero_ex/contract_wrappers/weth9/.gitkeep | 0 .../contract_wrappers/zrx_token/.gitkeep | 0 yarn.lock | 36 +- 37 files changed, 1062 insertions(+), 107 deletions(-) create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/asset_proxy_owner/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator_registry/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc20_token/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc721_token/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dutch_auction/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc20_proxy/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_proxy/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_token/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/eth_balance_checker/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/forwarder/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_asset_proxy/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_validator/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_wallet/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/multi_asset_proxy/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/order_validator/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/weth9/.gitkeep create mode 100644 python-packages/contract_wrappers/src/zero_ex/contract_wrappers/zrx_token/.gitkeep diff --git a/.gitignore b/.gitignore index 679011a773..029228516c 100644 --- a/.gitignore +++ b/.gitignore @@ -114,6 +114,24 @@ contracts/exchange-forwarder/generated-wrappers/ contracts/dev-utils/generated-wrappers/ python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc20_token/__init__.py python-packages/contract_wrappers/src/zero_ex/contract_wrappers/exchange/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/asset_proxy_owner/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator_registry/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc20_token/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc721_token/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dutch_auction/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc20_proxy/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_proxy/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_token/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/eth_balance_checker/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/forwarder/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_asset_proxy/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_validator/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_wallet/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/multi_asset_proxy/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/order_validator/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/weth9/__init__.py +python-packages/contract_wrappers/src/zero_ex/contract_wrappers/zrx_token/__init__.py # cli test output packages/abi-gen/test-cli/output diff --git a/packages/abi-gen-templates/Python/contract.handlebars b/packages/abi-gen-templates/Python/contract.handlebars index a71adfd9e1..7daf6530e9 100644 --- a/packages/abi-gen-templates/Python/contract.handlebars +++ b/packages/abi-gen-templates/Python/contract.handlebars @@ -34,7 +34,9 @@ try: ) except ImportError: - class {{contractName}}Validator(Validator): # type: ignore + class {{contractName}}Validator( # type: ignore + Validator + ): """No-op input validator.""" @@ -48,7 +50,7 @@ except ImportError: class {{contractName}}: """Wrapper class for {{contractName}} Solidity contract.{{docBytesIfNecessary ABIString}}""" {{#each methods}} - {{toPythonIdentifier this.name}}: {{toPythonClassname this.name}}Method + {{toPythonIdentifier this.languageSpecificName}}: {{toPythonClassname this.languageSpecificName}}Method {{/each}} def __init__( @@ -75,7 +77,7 @@ class {{contractName}}: functions = self._web3_eth.contract(address=to_checksum_address(contract_address), abi={{contractName}}.abi()).functions {{#each methods}} - self.{{toPythonIdentifier this.name}} = {{toPythonClassname this.name}}Method(provider, contract_address, functions.{{this.name}}, validator) + self.{{toPythonIdentifier this.languageSpecificName}} = {{toPythonClassname this.languageSpecificName}}Method(provider, contract_address, functions.{{this.name}}, validator) {{/each}} {{#each events}} diff --git a/packages/abi-gen-templates/Python/partials/method_class.handlebars b/packages/abi-gen-templates/Python/partials/method_class.handlebars index e2abdf1958..1817eac591 100644 --- a/packages/abi-gen-templates/Python/partials/method_class.handlebars +++ b/packages/abi-gen-templates/Python/partials/method_class.handlebars @@ -1,5 +1,5 @@ -class {{toPythonClassname this.name}}Method(ContractMethod): +class {{toPythonClassname this.languageSpecificName}}Method(ContractMethod): """Various interfaces to the {{this.name}} method.""" def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): diff --git a/packages/abi-gen-templates/Python/partials/return_type.handlebars b/packages/abi-gen-templates/Python/partials/return_type.handlebars index 54dc63ef71..7a1e833103 100644 --- a/packages/abi-gen-templates/Python/partials/return_type.handlebars +++ b/packages/abi-gen-templates/Python/partials/return_type.handlebars @@ -7,8 +7,8 @@ Union[ {{#returnType outputs.0.type outputs.0.components}}{{~/returnType~}} {{/singleReturnValue}} {{^singleReturnValue}} -[{{#each outputs}}{{#returnType type components}}{{/returnType}}{{#unless @last}}, {{/unless}}{{/each}}] -{{/singleReturnValue}} +Tuple[{{#each outputs}}{{#returnType type components}}{{/returnType}}{{#unless @last}}, {{/unless}}{{/each}}] +{{~/singleReturnValue}} {{else}}None {{/if}}{{^if this.constant}}, Union[HexBytes, bytes]]{{/if~}} {{else}}{{#if this.constant}}None{{else}}Union[None, Union[HexBytes, bytes]]{{/if}}{{/if~}} diff --git a/packages/abi-gen/CHANGELOG.json b/packages/abi-gen/CHANGELOG.json index 72ac0edb11..dc9f0348c2 100644 --- a/packages/abi-gen/CHANGELOG.json +++ b/packages/abi-gen/CHANGELOG.json @@ -30,6 +30,26 @@ { "note": "added gas estimation functionality to contract methods", "pr": 1996 + }, + { + "note": "Python: fixed bug with methods returning multiple values", + "pr": 1996 + }, + { + "note": "Python: fixed bug with methods returning arrays of structs", + "pr": 1996 + }, + { + "note": "Python: fixed bug with methods that return a struct that contains another struct where the inner struct was not otherwise directly referenced by any method", + "pr": 1996 + }, + { + "note": "Python: fixed bug with tuples sometimes being used before they were declared", + "pr": 1996 + }, + { + "note": "Python: fixed bug with supporting overloaded methods", + "pr": 1996 } ] }, diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json index 56a62d4cf5..618a8478cb 100644 --- a/packages/abi-gen/package.json +++ b/packages/abi-gen/package.json @@ -60,6 +60,7 @@ "@0x/types": "^2.4.1", "@0x/typescript-typings": "^4.2.4", "@0x/utils": "^4.4.2", + "@types/toposort": "^2.0.1", "chalk": "^2.3.0", "change-case": "^3.0.2", "cli-format": "^3.0.9", @@ -70,6 +71,7 @@ "mkdirp": "^0.5.1", "tmp": "^0.0.33", "to-snake-case": "^1.0.0", + "toposort": "^2.0.2", "yargs": "^10.0.3" }, "devDependencies": { diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts index 2b2cad85c9..eeeac085ac 100644 --- a/packages/abi-gen/src/index.ts +++ b/packages/abi-gen/src/index.ts @@ -12,12 +12,12 @@ import { DevdocOutput, EventAbi, MethodAbi, - TupleDataItem, } from 'ethereum-types'; import { sync as globSync } from 'glob'; import * as Handlebars from 'handlebars'; import * as _ from 'lodash'; import * as mkdirp from 'mkdirp'; +import toposort = require('toposort'); import * as yargs from 'yargs'; import { ContextData, ContractsBackend, ParamKind } from './types'; @@ -191,10 +191,15 @@ function registerPythonHelpers(): void { Handlebars.registerHelper('tupleDefinitions', (abisJSON: string) => { const abis: AbiDefinition[] = JSON.parse(abisJSON); // build an array of objects, each of which has one key, the Python - // name of a tuple, with a string value holding the Python - // definition of that tuple. Using a key-value object conveniently + // name of a tuple, with a string value holding the body of a Python + // class representing that tuple. Using a key-value object conveniently // filters duplicate references to the same tuple. - const tupleDefinitions: { [pythonTupleName: string]: string } = {}; + const tupleBodies: { [pythonTupleName: string]: string } = {}; + // build an array of tuple dependencies, whose format conforms to the + // expected input to toposort, a function to do a topological sort, + // which will help us declare tuples in the proper order, avoiding + // references to tuples that haven't been declared yet. + const tupleDependencies: Array<[string, string]> = []; for (const abi of abis) { let parameters: DataItem[] = []; if (abi.hasOwnProperty('inputs')) { @@ -216,24 +221,36 @@ function registerPythonHelpers(): void { parameters = parameters.concat((abi as MethodAbi).outputs); } for (const parameter of parameters) { - if (parameter.type === 'tuple') { - tupleDefinitions[ - utils.makePythonTupleName((parameter as TupleDataItem).components) - ] = utils.makePythonTupleClassBody((parameter as TupleDataItem).components); - } + utils.extractTuples(parameter, tupleBodies, tupleDependencies); + } + } + // build up a list of tuples to declare. the order they're pushed into + // this array is the order they will be declared. + const tuplesToDeclare = []; + // first push the ones that have dependencies + tuplesToDeclare.push(...toposort(tupleDependencies)); + // then push any remaining bodies (the ones that DON'T have + // dependencies) + for (const pythonTupleName in tupleBodies) { + if (!tuplesToDeclare.includes(pythonTupleName)) { + tuplesToDeclare.push(pythonTupleName); } } + // now iterate over those ordered tuples-to-declare, and prefix the + // corresponding class bodies with their class headers, to form full + // class declarations. const tupleDeclarations = []; - for (const pythonTupleName in tupleDefinitions) { - if (tupleDefinitions[pythonTupleName]) { + for (const pythonTupleName of tuplesToDeclare) { + if (tupleBodies[pythonTupleName]) { tupleDeclarations.push( - `class ${pythonTupleName}(TypedDict):\n """Python representation of a tuple or struct.\n\n A tuple found in an ABI may have been written in Solidity as a literal\n tuple, or it may have been written as a parameter with a Solidity\n \`struct\`:code: data type; there's no way to tell which, based solely on the\n ABI, and the name of a Solidity \`struct\`:code: is not conveyed through the\n ABI. This class represents a tuple that appeared in a method definition.\n Its name is derived from a hash of that tuple's field names, and every\n method whose ABI refers to a tuple with that same list of field names will\n have a generated wrapper method that refers to this class.\n\n Any members of type \`bytes\`:code: should be encoded as UTF-8, which can be\n accomplished via \`str.encode("utf_8")\`:code:\n """${ - tupleDefinitions[pythonTupleName] + `class ${pythonTupleName}(TypedDict):\n """Python representation of a tuple or struct.\n\n Solidity compiler output does not include the names of structs that appear\n in method definitions. A tuple found in an ABI may have been written in\n Solidity as a literal, anonymous tuple, or it may have been written as a\n named \`struct\`:code:, but there is no way to tell from the compiler\n output. This class represents a tuple that appeared in a method\n definition. Its name is derived from a hash of that tuple's field names,\n and every method whose ABI refers to a tuple with that same list of field\n names will have a generated wrapper method that refers to this class.\n\n Any members of type \`bytes\`:code: should be encoded as UTF-8, which can be\n accomplished via \`str.encode("utf_8")\`:code:\n """${ + tupleBodies[pythonTupleName] }`, ); } } - return new Handlebars.SafeString(tupleDeclarations.join('\n\n')); + // finally, join the class declarations together for the output file + return new Handlebars.SafeString(tupleDeclarations.join('\n\n\n')); }); Handlebars.registerHelper('docBytesIfNecessary', (abisJSON: string) => { const abis: AbiDefinition[] = JSON.parse(abisJSON); diff --git a/packages/abi-gen/src/utils.ts b/packages/abi-gen/src/utils.ts index 83ee80eac8..bb5a2d7812 100644 --- a/packages/abi-gen/src/utils.ts +++ b/packages/abi-gen/src/utils.ts @@ -2,7 +2,7 @@ import { createHash } from 'crypto'; import * as changeCase from 'change-case'; import * as cliFormat from 'cli-format'; -import { AbiType, ConstructorAbi, DataItem } from 'ethereum-types'; +import { AbiType, ConstructorAbi, DataItem, TupleDataItem } from 'ethereum-types'; import * as fs from 'fs'; import * as _ from 'lodash'; import * as path from 'path'; @@ -350,4 +350,28 @@ export const utils = { hangingIndent: ' '.repeat(columnsPerIndent), }); }, + extractTuples( + parameter: DataItem, + tupleBodies: { [pythonTupleName: string]: string }, // output + tupleDependencies: Array<[string, string]>, // output + ): void { + if (parameter.type === 'tuple' || parameter.type === 'tuple[]') { + const tupleDataItem = parameter as TupleDataItem; // tslint:disable-line:no-unnecessary-type-assertion + // without the above cast (which tslint complains about), tsc says + // Argument of type 'DataItem[] | undefined' is not assignable to parameter of type 'DataItem[]'. + // Type 'undefined' is not assignable to type 'DataItem[]' + // when the code below tries to access tupleDataItem.components. + const pythonTupleName = utils.makePythonTupleName(tupleDataItem.components); + tupleBodies[pythonTupleName] = utils.makePythonTupleClassBody(tupleDataItem.components); + for (const component of tupleDataItem.components) { + if (component.type === 'tuple' || component.type === 'tuple[]') { + tupleDependencies.push([ + utils.makePythonTupleName((component as TupleDataItem).components), // tslint:disable-line:no-unnecessary-type-assertion + pythonTupleName, + ]); + utils.extractTuples(component, tupleBodies, tupleDependencies); + } + } + } + }, }; diff --git a/packages/abi-gen/test-cli/expected-output/python/abi_gen_dummy/__init__.py b/packages/abi-gen/test-cli/expected-output/python/abi_gen_dummy/__init__.py index 4f4cd3d920..bb75c0f690 100644 --- a/packages/abi-gen/test-cli/expected-output/python/abi_gen_dummy/__init__.py +++ b/packages/abi-gen/test-cli/expected-output/python/abi_gen_dummy/__init__.py @@ -34,41 +34,61 @@ ) except ImportError: - class AbiGenDummyValidator(Validator): # type: ignore + class AbiGenDummyValidator( # type: ignore + Validator + ): """No-op input validator.""" -class Tuple0xc9bdd2d5(TypedDict): +class Tuple0x246f9407(TypedDict): """Python representation of a tuple or struct. - A tuple found in an ABI may have been written in Solidity as a literal - tuple, or it may have been written as a parameter with a Solidity - `struct`:code: data type; there's no way to tell which, based solely on the - ABI, and the name of a Solidity `struct`:code: is not conveyed through the - ABI. This class represents a tuple that appeared in a method definition. - Its name is derived from a hash of that tuple's field names, and every - method whose ABI refers to a tuple with that same list of field names will - have a generated wrapper method that refers to this class. + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. Any members of type `bytes`:code: should be encoded as UTF-8, which can be accomplished via `str.encode("utf_8")`:code: """ - innerStruct: Tuple0xcf8ad995 + aField: int + + +class Tuple0x1b9da225(TypedDict): + """Python representation of a tuple or struct. + + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. + + Any members of type `bytes`:code: should be encoded as UTF-8, which can be + accomplished via `str.encode("utf_8")`:code: + """ + + innerStruct: Tuple0x246f9407 - description: str class Tuple0xcf8ad995(TypedDict): """Python representation of a tuple or struct. - A tuple found in an ABI may have been written in Solidity as a literal - tuple, or it may have been written as a parameter with a Solidity - `struct`:code: data type; there's no way to tell which, based solely on the - ABI, and the name of a Solidity `struct`:code: is not conveyed through the - ABI. This class represents a tuple that appeared in a method definition. - Its name is derived from a hash of that tuple's field names, and every - method whose ABI refers to a tuple with that same list of field names will - have a generated wrapper method that refers to this class. + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. Any members of type `bytes`:code: should be encoded as UTF-8, which can be accomplished via `str.encode("utf_8")`:code: @@ -82,17 +102,39 @@ class Tuple0xcf8ad995(TypedDict): aString: str + +class Tuple0xc9bdd2d5(TypedDict): + """Python representation of a tuple or struct. + + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. + + Any members of type `bytes`:code: should be encoded as UTF-8, which can be + accomplished via `str.encode("utf_8")`:code: + """ + + innerStruct: Tuple0xcf8ad995 + + description: str + + class Tuple0xf95128ef(TypedDict): """Python representation of a tuple or struct. - A tuple found in an ABI may have been written in Solidity as a literal - tuple, or it may have been written as a parameter with a Solidity - `struct`:code: data type; there's no way to tell which, based solely on the - ABI, and the name of a Solidity `struct`:code: is not conveyed through the - ABI. This class represents a tuple that appeared in a method definition. - Its name is derived from a hash of that tuple's field names, and every - method whose ABI refers to a tuple with that same list of field names will - have a generated wrapper method that refers to this class. + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. Any members of type `bytes`:code: should be encoded as UTF-8, which can be accomplished via `str.encode("utf_8")`:code: @@ -104,17 +146,18 @@ class Tuple0xf95128ef(TypedDict): car: str + class Tuple0xa057bf41(TypedDict): """Python representation of a tuple or struct. - A tuple found in an ABI may have been written in Solidity as a literal - tuple, or it may have been written as a parameter with a Solidity - `struct`:code: data type; there's no way to tell which, based solely on the - ABI, and the name of a Solidity `struct`:code: is not conveyed through the - ABI. This class represents a tuple that appeared in a method definition. - Its name is derived from a hash of that tuple's field names, and every - method whose ABI refers to a tuple with that same list of field names will - have a generated wrapper method that refers to this class. + Solidity compiler output does not include the names of structs that appear + in method definitions. A tuple found in an ABI may have been written in + Solidity as a literal, anonymous tuple, or it may have been written as a + named `struct`:code:, but there is no way to tell from the compiler + output. This class represents a tuple that appeared in a method + definition. Its name is derived from a hash of that tuple's field names, + and every method whose ABI refers to a tuple with that same list of field + names will have a generated wrapper method that refers to this class. Any members of type `bytes`:code: should be encoded as UTF-8, which can be accomplished via `str.encode("utf_8")`:code: @@ -336,8 +379,7 @@ def validate_and_normalize_inputs(self, index_0: int, index_1: bytes, index_2: s ) return (index_0, index_1, index_2) - def call(self, index_0: int, index_1: bytes, index_2: str, tx_params: Optional[TxParams] = None) -> [bytes, bytes, str] -: + def call(self, index_0: int, index_1: bytes, index_2: str, tx_params: Optional[TxParams] = None) -> Tuple[bytes, bytes, str]: """Execute underlying contract method via eth_call. Tests decoding when the input and output are complex and have more than @@ -586,6 +628,37 @@ def estimate_gas(self, tx_params: Optional[TxParams] = None) -> int: tx_params = super().normalize_tx_params(tx_params) return self.underlying_method().estimateGas(tx_params.as_dict()) +class MethodUsingNestedStructWithInnerStructNotUsedElsewhereMethod(ContractMethod): + """Various interfaces to the methodUsingNestedStructWithInnerStructNotUsedElsewhere method.""" + + def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): + """Persist instance data.""" + super().__init__(provider, contract_address, validator) + self.underlying_method = contract_function + + def call(self, tx_params: Optional[TxParams] = None) -> Tuple0x1b9da225: + """Execute underlying contract method via eth_call. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().call(tx_params.as_dict()) + + def send_transaction(self, tx_params: Optional[TxParams] = None) -> Union[HexBytes, bytes]: + """Execute underlying contract method via eth_sendTransaction. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().transact(tx_params.as_dict()) + + def estimate_gas(self, tx_params: Optional[TxParams] = None) -> int: + """Estimate gas consumption of method call.""" + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().estimateGas(tx_params.as_dict()) + class NestedStructOutputMethod(ContractMethod): """Various interfaces to the nestedStructOutput method.""" @@ -1023,6 +1096,68 @@ def estimate_gas(self, n: Tuple0xc9bdd2d5, tx_params: Optional[TxParams] = None) tx_params = super().normalize_tx_params(tx_params) return self.underlying_method(n).estimateGas(tx_params.as_dict()) +class MethodReturningMultipleValuesMethod(ContractMethod): + """Various interfaces to the methodReturningMultipleValues method.""" + + def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): + """Persist instance data.""" + super().__init__(provider, contract_address, validator) + self.underlying_method = contract_function + + def call(self, tx_params: Optional[TxParams] = None) -> Tuple[int, str]: + """Execute underlying contract method via eth_call. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().call(tx_params.as_dict()) + + def send_transaction(self, tx_params: Optional[TxParams] = None) -> Union[HexBytes, bytes]: + """Execute underlying contract method via eth_sendTransaction. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().transact(tx_params.as_dict()) + + def estimate_gas(self, tx_params: Optional[TxParams] = None) -> int: + """Estimate gas consumption of method call.""" + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().estimateGas(tx_params.as_dict()) + +class MethodReturningArrayOfStructsMethod(ContractMethod): + """Various interfaces to the methodReturningArrayOfStructs method.""" + + def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): + """Persist instance data.""" + super().__init__(provider, contract_address, validator) + self.underlying_method = contract_function + + def call(self, tx_params: Optional[TxParams] = None) -> List[Tuple0xcf8ad995]: + """Execute underlying contract method via eth_call. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().call(tx_params.as_dict()) + + def send_transaction(self, tx_params: Optional[TxParams] = None) -> Union[HexBytes, bytes]: + """Execute underlying contract method via eth_sendTransaction. + + :param tx_params: transaction parameters + + """ + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().transact(tx_params.as_dict()) + + def estimate_gas(self, tx_params: Optional[TxParams] = None) -> int: + """Estimate gas consumption of method call.""" + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method().estimateGas(tx_params.as_dict()) + class StructOutputMethod(ContractMethod): """Various interfaces to the structOutput method.""" @@ -1138,6 +1273,92 @@ def estimate_gas(self, index_0: int, tx_params: Optional[TxParams] = None) -> in tx_params = super().normalize_tx_params(tx_params) return self.underlying_method(index_0).estimateGas(tx_params.as_dict()) +class OverloadedMethod2Method(ContractMethod): + """Various interfaces to the overloadedMethod method.""" + + def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): + """Persist instance data.""" + super().__init__(provider, contract_address, validator) + self.underlying_method = contract_function + + def validate_and_normalize_inputs(self, a: str): + """Validate the inputs to the overloadedMethod method.""" + self.validator.assert_valid( + method_name='overloadedMethod', + parameter_name='a', + argument_value=a, + ) + return (a) + + def call(self, a: str, tx_params: Optional[TxParams] = None) -> None: + """Execute underlying contract method via eth_call. + + :param tx_params: transaction parameters + + """ + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).call(tx_params.as_dict()) + + def send_transaction(self, a: str, tx_params: Optional[TxParams] = None) -> Union[HexBytes, bytes]: + """Execute underlying contract method via eth_sendTransaction. + + :param tx_params: transaction parameters + + """ + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).transact(tx_params.as_dict()) + + def estimate_gas(self, a: str, tx_params: Optional[TxParams] = None) -> int: + """Estimate gas consumption of method call.""" + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).estimateGas(tx_params.as_dict()) + +class OverloadedMethod1Method(ContractMethod): + """Various interfaces to the overloadedMethod method.""" + + def __init__(self, provider: BaseProvider, contract_address: str, contract_function: ContractFunction, validator: Validator=None): + """Persist instance data.""" + super().__init__(provider, contract_address, validator) + self.underlying_method = contract_function + + def validate_and_normalize_inputs(self, a: int): + """Validate the inputs to the overloadedMethod method.""" + self.validator.assert_valid( + method_name='overloadedMethod', + parameter_name='a', + argument_value=a, + ) + return (a) + + def call(self, a: int, tx_params: Optional[TxParams] = None) -> None: + """Execute underlying contract method via eth_call. + + :param tx_params: transaction parameters + + """ + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).call(tx_params.as_dict()) + + def send_transaction(self, a: int, tx_params: Optional[TxParams] = None) -> Union[HexBytes, bytes]: + """Execute underlying contract method via eth_sendTransaction. + + :param tx_params: transaction parameters + + """ + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).transact(tx_params.as_dict()) + + def estimate_gas(self, a: int, tx_params: Optional[TxParams] = None) -> int: + """Estimate gas consumption of method call.""" + (a) = self.validate_and_normalize_inputs(a) + tx_params = super().normalize_tx_params(tx_params) + return self.underlying_method(a).estimateGas(tx_params.as_dict()) + # pylint: disable=too-many-public-methods,too-many-instance-attributes class AbiGenDummy: """Wrapper class for AbiGenDummy Solidity contract. @@ -1155,6 +1376,7 @@ class AbiGenDummy: no_input_simple_output: NoInputSimpleOutputMethod revert_with_constant: RevertWithConstantMethod simple_revert: SimpleRevertMethod + method_using_nested_struct_with_inner_struct_not_used_elsewhere: MethodUsingNestedStructWithInnerStructNotUsedElsewhereMethod nested_struct_output: NestedStructOutputMethod require_with_constant: RequireWithConstantMethod with_address_input: WithAddressInputMethod @@ -1166,9 +1388,13 @@ class AbiGenDummy: non_pure_method_that_returns_nothing: NonPureMethodThatReturnsNothingMethod simple_pure_function: SimplePureFunctionMethod nested_struct_input: NestedStructInputMethod + method_returning_multiple_values: MethodReturningMultipleValuesMethod + method_returning_array_of_structs: MethodReturningArrayOfStructsMethod struct_output: StructOutputMethod pure_function_with_constant: PureFunctionWithConstantMethod simple_input_no_output: SimpleInputNoOutputMethod + overloaded_method2: OverloadedMethod2Method + overloaded_method1: OverloadedMethod1Method def __init__( self, @@ -1213,6 +1439,8 @@ def __init__( self.simple_revert = SimpleRevertMethod(provider, contract_address, functions.simpleRevert, validator) + self.method_using_nested_struct_with_inner_struct_not_used_elsewhere = MethodUsingNestedStructWithInnerStructNotUsedElsewhereMethod(provider, contract_address, functions.methodUsingNestedStructWithInnerStructNotUsedElsewhere, validator) + self.nested_struct_output = NestedStructOutputMethod(provider, contract_address, functions.nestedStructOutput, validator) self.require_with_constant = RequireWithConstantMethod(provider, contract_address, functions.requireWithConstant, validator) @@ -1235,12 +1463,20 @@ def __init__( self.nested_struct_input = NestedStructInputMethod(provider, contract_address, functions.nestedStructInput, validator) + self.method_returning_multiple_values = MethodReturningMultipleValuesMethod(provider, contract_address, functions.methodReturningMultipleValues, validator) + + self.method_returning_array_of_structs = MethodReturningArrayOfStructsMethod(provider, contract_address, functions.methodReturningArrayOfStructs, validator) + self.struct_output = StructOutputMethod(provider, contract_address, functions.structOutput, validator) self.pure_function_with_constant = PureFunctionWithConstantMethod(provider, contract_address, functions.pureFunctionWithConstant, validator) self.simple_input_no_output = SimpleInputNoOutputMethod(provider, contract_address, functions.simpleInputNoOutput, validator) + self.overloaded_method2 = OverloadedMethod2Method(provider, contract_address, functions.overloadedMethod, validator) + + self.overloaded_method1 = OverloadedMethod1Method(provider, contract_address, functions.overloadedMethod, validator) + def get_withdrawal_event( self, tx_hash: Union[HexBytes, bytes] ) -> Tuple[AttributeDict]: @@ -1264,7 +1500,7 @@ def get_an_event_event( def abi(): """Return the ABI to the underlying contract.""" return json.loads( - '[{"constant":true,"inputs":[],"name":"simpleRequire","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"bytes[]"}],"name":"acceptsAnArrayOfBytes","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"}],"name":"simpleInputSimpleOutput","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"},{"name":"index_1","type":"bytes"},{"name":"index_2","type":"string"}],"name":"multiInputMultiOutput","outputs":[{"name":"","type":"bytes"},{"name":"","type":"bytes"},{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"hash","type":"bytes32"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"ecrecoverFn","outputs":[{"name":"signerAddress","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"bytes"}],"name":"acceptsBytes","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"noInputSimpleOutput","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"revertWithConstant","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"simpleRevert","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"nestedStructOutput","outputs":[{"components":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"innerStruct","type":"tuple"},{"name":"description","type":"string"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"requireWithConstant","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"address"},{"name":"a","type":"uint256"},{"name":"b","type":"uint256"},{"name":"y","type":"address"},{"name":"c","type":"uint256"}],"name":"withAddressInput","outputs":[{"name":"z","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"s","type":"tuple"}],"name":"structInput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"nonPureMethod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"components":[{"name":"foo","type":"uint256"},{"name":"bar","type":"bytes"},{"name":"car","type":"string"}],"name":"complexInput","type":"tuple"}],"name":"complexInputComplexOutput","outputs":[{"components":[{"components":[{"name":"foo","type":"uint256"},{"name":"bar","type":"bytes"},{"name":"car","type":"string"}],"name":"input","type":"tuple"},{"name":"lorem","type":"bytes"},{"name":"ipsum","type":"bytes"},{"name":"dolor","type":"string"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"noInputNoOutput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"simplePureFunctionWithInput","outputs":[{"name":"sum","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"nonPureMethodThatReturnsNothing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"simplePureFunction","outputs":[{"name":"result","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"components":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"innerStruct","type":"tuple"},{"name":"description","type":"string"}],"name":"n","type":"tuple"}],"name":"nestedStructInput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"structOutput","outputs":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"s","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"pureFunctionWithConstant","outputs":[{"name":"someConstant","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"}],"name":"simpleInputNoOutput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Withdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"param","type":"uint8"}],"name":"AnEvent","type":"event"}]' # noqa: E501 (line-too-long) + '[{"constant":true,"inputs":[],"name":"simpleRequire","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"bytes[]"}],"name":"acceptsAnArrayOfBytes","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"}],"name":"simpleInputSimpleOutput","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"},{"name":"index_1","type":"bytes"},{"name":"index_2","type":"string"}],"name":"multiInputMultiOutput","outputs":[{"name":"","type":"bytes"},{"name":"","type":"bytes"},{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"hash","type":"bytes32"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"ecrecoverFn","outputs":[{"name":"signerAddress","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"bytes"}],"name":"acceptsBytes","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"noInputSimpleOutput","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"revertWithConstant","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"simpleRevert","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"methodUsingNestedStructWithInnerStructNotUsedElsewhere","outputs":[{"components":[{"components":[{"name":"aField","type":"uint256"}],"name":"innerStruct","type":"tuple"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"nestedStructOutput","outputs":[{"components":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"innerStruct","type":"tuple"},{"name":"description","type":"string"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"requireWithConstant","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"address"},{"name":"a","type":"uint256"},{"name":"b","type":"uint256"},{"name":"y","type":"address"},{"name":"c","type":"uint256"}],"name":"withAddressInput","outputs":[{"name":"z","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"s","type":"tuple"}],"name":"structInput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"nonPureMethod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"components":[{"name":"foo","type":"uint256"},{"name":"bar","type":"bytes"},{"name":"car","type":"string"}],"name":"complexInput","type":"tuple"}],"name":"complexInputComplexOutput","outputs":[{"components":[{"components":[{"name":"foo","type":"uint256"},{"name":"bar","type":"bytes"},{"name":"car","type":"string"}],"name":"input","type":"tuple"},{"name":"lorem","type":"bytes"},{"name":"ipsum","type":"bytes"},{"name":"dolor","type":"string"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"noInputNoOutput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"simplePureFunctionWithInput","outputs":[{"name":"sum","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"nonPureMethodThatReturnsNothing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"simplePureFunction","outputs":[{"name":"result","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"components":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"innerStruct","type":"tuple"},{"name":"description","type":"string"}],"name":"n","type":"tuple"}],"name":"nestedStructInput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"methodReturningMultipleValues","outputs":[{"name":"","type":"uint256"},{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"methodReturningArrayOfStructs","outputs":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"","type":"tuple[]"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"structOutput","outputs":[{"components":[{"name":"someBytes","type":"bytes"},{"name":"anInteger","type":"uint32"},{"name":"aDynamicArrayOfBytes","type":"bytes[]"},{"name":"aString","type":"string"}],"name":"s","type":"tuple"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"pureFunctionWithConstant","outputs":[{"name":"someConstant","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"index_0","type":"uint256"}],"name":"simpleInputNoOutput","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"string"}],"name":"overloadedMethod","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"int256"}],"name":"overloadedMethod","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Withdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"param","type":"uint8"}],"name":"AnEvent","type":"event"}]' # noqa: E501 (line-too-long) ) # pylint: disable=too-many-lines diff --git a/packages/abi-gen/test-cli/expected-output/python/lib_dummy/__init__.py b/packages/abi-gen/test-cli/expected-output/python/lib_dummy/__init__.py index fee8d1da38..b6d10ee039 100644 --- a/packages/abi-gen/test-cli/expected-output/python/lib_dummy/__init__.py +++ b/packages/abi-gen/test-cli/expected-output/python/lib_dummy/__init__.py @@ -34,7 +34,9 @@ ) except ImportError: - class LibDummyValidator(Validator): # type: ignore + class LibDummyValidator( # type: ignore + Validator + ): """No-op input validator.""" diff --git a/packages/abi-gen/test-cli/expected-output/python/test_lib_dummy/__init__.py b/packages/abi-gen/test-cli/expected-output/python/test_lib_dummy/__init__.py index 2f40a16476..cf00125862 100644 --- a/packages/abi-gen/test-cli/expected-output/python/test_lib_dummy/__init__.py +++ b/packages/abi-gen/test-cli/expected-output/python/test_lib_dummy/__init__.py @@ -34,7 +34,9 @@ ) except ImportError: - class TestLibDummyValidator(Validator): # type: ignore + class TestLibDummyValidator( # type: ignore + Validator + ): """No-op input validator.""" diff --git a/packages/abi-gen/test-cli/expected-output/typescript/abi_gen_dummy.ts b/packages/abi-gen/test-cli/expected-output/typescript/abi_gen_dummy.ts index 3a5c0cc4e5..0ad5d8d9c9 100644 --- a/packages/abi-gen/test-cli/expected-output/typescript/abi_gen_dummy.ts +++ b/packages/abi-gen/test-cli/expected-output/typescript/abi_gen_dummy.ts @@ -836,6 +836,79 @@ export class AbiGenDummyContract extends BaseContract { return abiDecodedReturnData; }, }; + public methodUsingNestedStructWithInnerStructNotUsedElsewhere = { + /** + * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an + * Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas + * since they don't modify state. + */ + async callAsync( + callData: Partial = {}, + defaultBlock?: BlockParam, + ): Promise<{ innerStruct: { aField: BigNumber } }> { + assert.doesConformToSchema('callData', callData, schemas.callDataSchema, [ + schemas.addressSchema, + schemas.numberSchema, + schemas.jsNumber, + ]); + if (defaultBlock !== undefined) { + assert.isBlockParam('defaultBlock', defaultBlock); + } + const self = (this as any) as AbiGenDummyContract; + const encodedData = self._strictEncodeArguments( + 'methodUsingNestedStructWithInnerStructNotUsedElsewhere()', + [], + ); + const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( + { + to: self.address, + ...callData, + data: encodedData, + }, + self._web3Wrapper.getContractDefaults(), + ); + callDataWithDefaults.from = callDataWithDefaults.from + ? callDataWithDefaults.from.toLowerCase() + : callDataWithDefaults.from; + + const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); + BaseContract._throwIfRevertWithReasonCallResult(rawCallResult); + const abiEncoder = self._lookupAbiEncoder('methodUsingNestedStructWithInnerStructNotUsedElsewhere()'); + // tslint:disable boolean-naming + const result = abiEncoder.strictDecodeReturnValue<{ innerStruct: { aField: BigNumber } }>(rawCallResult); + // tslint:enable boolean-naming + return result; + }, + /** + * Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before + * sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used + * to create a 0x transaction (see protocol spec for more details). + */ + getABIEncodedTransactionData(): string { + const self = (this as any) as AbiGenDummyContract; + const abiEncodedTransactionData = self._strictEncodeArguments( + 'methodUsingNestedStructWithInnerStructNotUsedElsewhere()', + [], + ); + return abiEncodedTransactionData; + }, + getABIDecodedTransactionData(callData: string): { innerStruct: { aField: BigNumber } } { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodUsingNestedStructWithInnerStructNotUsedElsewhere()'); + // tslint:disable boolean-naming + const abiDecodedCallData = abiEncoder.strictDecode<{ innerStruct: { aField: BigNumber } }>(callData); + return abiDecodedCallData; + }, + getABIDecodedReturnData(returnData: string): { innerStruct: { aField: BigNumber } } { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodUsingNestedStructWithInnerStructNotUsedElsewhere()'); + // tslint:disable boolean-naming + const abiDecodedReturnData = abiEncoder.strictDecodeReturnValue<{ innerStruct: { aField: BigNumber } }>( + returnData, + ); + return abiDecodedReturnData; + }, + }; public nestedStructOutput = { /** * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an @@ -1794,6 +1867,143 @@ export class AbiGenDummyContract extends BaseContract { return abiDecodedReturnData; }, }; + public methodReturningMultipleValues = { + /** + * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an + * Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas + * since they don't modify state. + */ + async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise<[BigNumber, string]> { + assert.doesConformToSchema('callData', callData, schemas.callDataSchema, [ + schemas.addressSchema, + schemas.numberSchema, + schemas.jsNumber, + ]); + if (defaultBlock !== undefined) { + assert.isBlockParam('defaultBlock', defaultBlock); + } + const self = (this as any) as AbiGenDummyContract; + const encodedData = self._strictEncodeArguments('methodReturningMultipleValues()', []); + const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( + { + to: self.address, + ...callData, + data: encodedData, + }, + self._web3Wrapper.getContractDefaults(), + ); + callDataWithDefaults.from = callDataWithDefaults.from + ? callDataWithDefaults.from.toLowerCase() + : callDataWithDefaults.from; + + const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); + BaseContract._throwIfRevertWithReasonCallResult(rawCallResult); + const abiEncoder = self._lookupAbiEncoder('methodReturningMultipleValues()'); + // tslint:disable boolean-naming + const result = abiEncoder.strictDecodeReturnValue<[BigNumber, string]>(rawCallResult); + // tslint:enable boolean-naming + return result; + }, + /** + * Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before + * sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used + * to create a 0x transaction (see protocol spec for more details). + */ + getABIEncodedTransactionData(): string { + const self = (this as any) as AbiGenDummyContract; + const abiEncodedTransactionData = self._strictEncodeArguments('methodReturningMultipleValues()', []); + return abiEncodedTransactionData; + }, + getABIDecodedTransactionData(callData: string): [BigNumber, string] { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodReturningMultipleValues()'); + // tslint:disable boolean-naming + const abiDecodedCallData = abiEncoder.strictDecode<[BigNumber, string]>(callData); + return abiDecodedCallData; + }, + getABIDecodedReturnData(returnData: string): [BigNumber, string] { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodReturningMultipleValues()'); + // tslint:disable boolean-naming + const abiDecodedReturnData = abiEncoder.strictDecodeReturnValue<[BigNumber, string]>(returnData); + return abiDecodedReturnData; + }, + }; + public methodReturningArrayOfStructs = { + /** + * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an + * Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas + * since they don't modify state. + */ + async callAsync( + callData: Partial = {}, + defaultBlock?: BlockParam, + ): Promise> { + assert.doesConformToSchema('callData', callData, schemas.callDataSchema, [ + schemas.addressSchema, + schemas.numberSchema, + schemas.jsNumber, + ]); + if (defaultBlock !== undefined) { + assert.isBlockParam('defaultBlock', defaultBlock); + } + const self = (this as any) as AbiGenDummyContract; + const encodedData = self._strictEncodeArguments('methodReturningArrayOfStructs()', []); + const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( + { + to: self.address, + ...callData, + data: encodedData, + }, + self._web3Wrapper.getContractDefaults(), + ); + callDataWithDefaults.from = callDataWithDefaults.from + ? callDataWithDefaults.from.toLowerCase() + : callDataWithDefaults.from; + + const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); + BaseContract._throwIfRevertWithReasonCallResult(rawCallResult); + const abiEncoder = self._lookupAbiEncoder('methodReturningArrayOfStructs()'); + // tslint:disable boolean-naming + const result = abiEncoder.strictDecodeReturnValue< + Array<{ someBytes: string; anInteger: number; aDynamicArrayOfBytes: string[]; aString: string }> + >(rawCallResult); + // tslint:enable boolean-naming + return result; + }, + /** + * Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before + * sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used + * to create a 0x transaction (see protocol spec for more details). + */ + getABIEncodedTransactionData(): string { + const self = (this as any) as AbiGenDummyContract; + const abiEncodedTransactionData = self._strictEncodeArguments('methodReturningArrayOfStructs()', []); + return abiEncodedTransactionData; + }, + getABIDecodedTransactionData( + callData: string, + ): Array<{ someBytes: string; anInteger: number; aDynamicArrayOfBytes: string[]; aString: string }> { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodReturningArrayOfStructs()'); + // tslint:disable boolean-naming + const abiDecodedCallData = abiEncoder.strictDecode< + Array<{ someBytes: string; anInteger: number; aDynamicArrayOfBytes: string[]; aString: string }> + >(callData); + return abiDecodedCallData; + }, + getABIDecodedReturnData( + returnData: string, + ): Array<{ someBytes: string; anInteger: number; aDynamicArrayOfBytes: string[]; aString: string }> { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('methodReturningArrayOfStructs()'); + // tslint:disable boolean-naming + const abiDecodedReturnData = abiEncoder.strictDecodeReturnValue< + Array<{ someBytes: string; anInteger: number; aDynamicArrayOfBytes: string[]; aString: string }> + >(returnData); + return abiDecodedReturnData; + }, + }; /** * a method that returns a struct */ @@ -2015,6 +2225,134 @@ export class AbiGenDummyContract extends BaseContract { return abiDecodedReturnData; }, }; + public overloadedMethod2 = { + /** + * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an + * Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas + * since they don't modify state. + */ + async callAsync(a: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { + assert.isString('a', a); + assert.doesConformToSchema('callData', callData, schemas.callDataSchema, [ + schemas.addressSchema, + schemas.numberSchema, + schemas.jsNumber, + ]); + if (defaultBlock !== undefined) { + assert.isBlockParam('defaultBlock', defaultBlock); + } + const self = (this as any) as AbiGenDummyContract; + const encodedData = self._strictEncodeArguments('overloadedMethod(string)', [a]); + const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( + { + to: self.address, + ...callData, + data: encodedData, + }, + self._web3Wrapper.getContractDefaults(), + ); + callDataWithDefaults.from = callDataWithDefaults.from + ? callDataWithDefaults.from.toLowerCase() + : callDataWithDefaults.from; + + const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); + BaseContract._throwIfRevertWithReasonCallResult(rawCallResult); + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(string)'); + // tslint:disable boolean-naming + const result = abiEncoder.strictDecodeReturnValue(rawCallResult); + // tslint:enable boolean-naming + return result; + }, + /** + * Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before + * sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used + * to create a 0x transaction (see protocol spec for more details). + */ + getABIEncodedTransactionData(a: string): string { + assert.isString('a', a); + const self = (this as any) as AbiGenDummyContract; + const abiEncodedTransactionData = self._strictEncodeArguments('overloadedMethod(string)', [a]); + return abiEncodedTransactionData; + }, + getABIDecodedTransactionData(callData: string): void { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(string)'); + // tslint:disable boolean-naming + const abiDecodedCallData = abiEncoder.strictDecode(callData); + return abiDecodedCallData; + }, + getABIDecodedReturnData(returnData: string): void { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(string)'); + // tslint:disable boolean-naming + const abiDecodedReturnData = abiEncoder.strictDecodeReturnValue(returnData); + return abiDecodedReturnData; + }, + }; + public overloadedMethod1 = { + /** + * Sends a read-only call to the contract method. Returns the result that would happen if one were to send an + * Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas + * since they don't modify state. + */ + async callAsync(a: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { + assert.isBigNumber('a', a); + assert.doesConformToSchema('callData', callData, schemas.callDataSchema, [ + schemas.addressSchema, + schemas.numberSchema, + schemas.jsNumber, + ]); + if (defaultBlock !== undefined) { + assert.isBlockParam('defaultBlock', defaultBlock); + } + const self = (this as any) as AbiGenDummyContract; + const encodedData = self._strictEncodeArguments('overloadedMethod(int256)', [a]); + const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( + { + to: self.address, + ...callData, + data: encodedData, + }, + self._web3Wrapper.getContractDefaults(), + ); + callDataWithDefaults.from = callDataWithDefaults.from + ? callDataWithDefaults.from.toLowerCase() + : callDataWithDefaults.from; + + const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock); + BaseContract._throwIfRevertWithReasonCallResult(rawCallResult); + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(int256)'); + // tslint:disable boolean-naming + const result = abiEncoder.strictDecodeReturnValue(rawCallResult); + // tslint:enable boolean-naming + return result; + }, + /** + * Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before + * sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used + * to create a 0x transaction (see protocol spec for more details). + */ + getABIEncodedTransactionData(a: BigNumber): string { + assert.isBigNumber('a', a); + const self = (this as any) as AbiGenDummyContract; + const abiEncodedTransactionData = self._strictEncodeArguments('overloadedMethod(int256)', [a]); + return abiEncodedTransactionData; + }, + getABIDecodedTransactionData(callData: string): void { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(int256)'); + // tslint:disable boolean-naming + const abiDecodedCallData = abiEncoder.strictDecode(callData); + return abiDecodedCallData; + }, + getABIDecodedReturnData(returnData: string): void { + const self = (this as any) as AbiGenDummyContract; + const abiEncoder = self._lookupAbiEncoder('overloadedMethod(int256)'); + // tslint:disable boolean-naming + const abiDecodedReturnData = abiEncoder.strictDecodeReturnValue(returnData); + return abiDecodedReturnData; + }, + }; private readonly _subscriptionManager: SubscriptionManager; public static async deployFrom0xArtifactAsync( artifact: ContractArtifact | SimpleContractArtifact, @@ -2251,6 +2589,32 @@ export class AbiGenDummyContract extends BaseContract { stateMutability: 'pure', type: 'function', }, + { + constant: true, + inputs: [], + name: 'methodUsingNestedStructWithInnerStructNotUsedElsewhere', + outputs: [ + { + name: '', + type: 'tuple', + components: [ + { + name: 'innerStruct', + type: 'tuple', + components: [ + { + name: 'aField', + type: 'uint256', + }, + ], + }, + ], + }, + ], + payable: false, + stateMutability: 'pure', + type: 'function', + }, { constant: true, inputs: [], @@ -2541,6 +2905,56 @@ export class AbiGenDummyContract extends BaseContract { stateMutability: 'pure', type: 'function', }, + { + constant: true, + inputs: [], + name: 'methodReturningMultipleValues', + outputs: [ + { + name: '', + type: 'uint256', + }, + { + name: '', + type: 'string', + }, + ], + payable: false, + stateMutability: 'pure', + type: 'function', + }, + { + constant: true, + inputs: [], + name: 'methodReturningArrayOfStructs', + outputs: [ + { + name: '', + type: 'tuple[]', + components: [ + { + name: 'someBytes', + type: 'bytes', + }, + { + name: 'anInteger', + type: 'uint32', + }, + { + name: 'aDynamicArrayOfBytes', + type: 'bytes[]', + }, + { + name: 'aString', + type: 'string', + }, + ], + }, + ], + payable: false, + stateMutability: 'pure', + type: 'function', + }, { constant: true, inputs: [], @@ -2601,6 +3015,34 @@ export class AbiGenDummyContract extends BaseContract { stateMutability: 'pure', type: 'function', }, + { + constant: true, + inputs: [ + { + name: 'a', + type: 'string', + }, + ], + name: 'overloadedMethod', + outputs: [], + payable: false, + stateMutability: 'pure', + type: 'function', + }, + { + constant: true, + inputs: [ + { + name: 'a', + type: 'int256', + }, + ], + name: 'overloadedMethod', + outputs: [], + payable: false, + stateMutability: 'pure', + type: 'function', + }, { anonymous: false, inputs: [ diff --git a/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json b/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json index aafd9a7706..7b3343dd17 100644 --- a/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json +++ b/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json @@ -171,6 +171,32 @@ "stateMutability": "pure", "type": "function" }, + { + "constant": true, + "inputs": [], + "name": "methodUsingNestedStructWithInnerStructNotUsedElsewhere", + "outputs": [ + { + "components": [ + { + "components": [ + { + "name": "aField", + "type": "uint256" + } + ], + "name": "innerStruct", + "type": "tuple" + } + ], + "name": "", + "type": "tuple" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, { "constant": true, "inputs": [], @@ -461,6 +487,56 @@ "stateMutability": "pure", "type": "function" }, + { + "constant": true, + "inputs": [], + "name": "methodReturningMultipleValues", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "methodReturningArrayOfStructs", + "outputs": [ + { + "components": [ + { + "name": "someBytes", + "type": "bytes" + }, + { + "name": "anInteger", + "type": "uint32" + }, + { + "name": "aDynamicArrayOfBytes", + "type": "bytes[]" + }, + { + "name": "aString", + "type": "string" + } + ], + "name": "", + "type": "tuple[]" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, { "constant": true, "inputs": [], @@ -521,6 +597,34 @@ "stateMutability": "pure", "type": "function" }, + { + "constant": true, + "inputs": [ + { + "name": "a", + "type": "string" + } + ], + "name": "overloadedMethod", + "outputs": [], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "a", + "type": "int256" + } + ], + "name": "overloadedMethod", + "outputs": [], + "payable": false, + "stateMutability": "pure", + "type": "function" + }, { "anonymous": false, "inputs": [ @@ -596,15 +700,15 @@ "evm": { "bytecode": { "linkReferences": {}, - "object": "0x608060405234801561001057600080fd5b50611229806100206000396000f3fe608060405234801561001057600080fd5b50600436106101975760003560e01c806363d69c88116100e35780639a3b61851161008c578063d6d7618c11610066578063d6d7618c146102fc578063d88be12f14610311578063ee8b86fb1461031957610197565b80639a3b6185146102de578063a3c2f6b6146102e6578063ae2dae17146102ee57610197565b80637833bec0116100bd5780637833bec0146102a35780637a791e6e146102c35780638ee52b4e146102cb57610197565b806363d69c881461027a578063647341eb1461028d57806376f15d5b1461029b57610197565b80633e9ef66a1161014557806345fdbdb71161011f57806345fdbdb71461025557806359c28add1461025d5780635ba3c7c01461027257610197565b80633e9ef66a146102375780634303a542146102455780634582eab21461024d57610197565b80632e1a7d4d116101765780632e1a7d4d146101e25780633687617d146101f557806336b323961461021757610197565b806209e4371461019c5780630527c28f146101a65780631310e444146101b9575b600080fd5b6101a461032c565b005b6101a46101b4366004610b3f565b610369565b6101cc6101c7366004610d53565b61036c565b6040516101d99190611164565b60405180910390f35b6101a46101f0366004610d53565b610373565b610208610203366004610d6c565b6103c4565b6040516101d993929190610f44565b61022a610225366004610b7c565b610464565b6040516101d99190610f05565b6101a46101b4366004610bbf565b6101cc610546565b6101a461054d565b6101a46105b2565b6102656105e4565b6040516101d991906110fa565b6101a46105ec565b61022a610288366004610aed565b610651565b6101a46101b4366004610d1e565b6101cc61065a565b6102b66102b1366004610bf4565b610668565b6040516101d9919061100e565b6101a4610725565b6101cc6102d9366004610d53565b61072a565b6101a4610730565b6101cc61073b565b6101a46101b4366004610c8e565b610304610740565b6040516101d99190611151565b6101cc610899565b6101a4610327366004610d53565b6101b4565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035e90610fd7565b60405180910390fd5b565b50565b506107c790565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516103b99190611164565b60405180910390a250565b505060408051808201825260048082527f1234567800000000000000000000000000000000000000000000000000000000602080840191909152835180850185528281527f87654321000000000000000000000000000000000000000000000000000000008183015284518086019095529184527f616d657400000000000000000000000000000000000000000000000000000000908401529093909250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016104b5929190610ee3565b604051602081830303815290604052805190602001209050600181878787604051600081526020016040526040516104f09493929190610f26565b6020604051602081039080840390855afa158015610512573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b6107c75b90565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a000000000000000000000000000000000000000000000000000000000815261035e9190600401610f86565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035e90610fa0565b61054a61089f565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a000000000000000000000000000000000000000000000000000000000815261035e9190600401610f86565b50929392505050565b600080546001019081905590565b6106706108bf565b50604080516080810182529182528051808201825260048082527f123456780000000000000000000000000000000000000000000000000000000060208381019190915280850192909252825180840184528181527f87654321000000000000000000000000000000000000000000000000000000008184015284840152825180840190935282527f616d65740000000000000000000000000000000000000000000000000000000090820152606082015290565b610367565b60010190565b600080546001019055565b600190565b6107486108ed565b6040805160028082526060828101909352816020015b606081526020019060019003908161075e5790505090506040518060400160405280600581526020017f3078313233000000000000000000000000000000000000000000000000000000815250816000815181106107b857fe5b60200260200101819052506040518060400160405280600581526020017f30783332310000000000000000000000000000000000000000000000000000008152508160018151811061080657fe5b6020908102919091018101919091526040805160c0810182526005608082018181527f307831323300000000000000000000000000000000000000000000000000000060a0840152825281840152808201939093528051808201909152600381527f6162630000000000000000000000000000000000000000000000000000000000918101919091526060820152905090565b6104d290565b6040518060a001604052806108b26108ed565b8152602001606081525090565b6040518060c001604052806108d261091b565b81526020016060815260200160608152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b60405180606001604052806000815260200160608152602001606081525090565b600082601f83011261094c578081fd5b813567ffffffffffffffff811115610962578182fd5b6020610971818284020161116d565b828152925080830184820160005b848110156109a857610996888584358a01016109b3565b8352918301919083019060010161097f565b505050505092915050565b600082601f8301126109c3578081fd5b813567ffffffffffffffff8111156109d9578182fd5b610a0a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161116d565b9150808252836020828501011115610a2157600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610a4b578081fd5b610a55608061116d565b90506000823567ffffffffffffffff80821115610a70578283fd5b610a7c868387016109b3565b84526020850135915063ffffffff82168214610a96578283fd5b8160208501526040850135915080821115610aaf578283fd5b610abb8683870161093c565b60408501526060850135915080821115610ad3578283fd5b50610ae0858286016109b3565b6060840152505092915050565b600080600080600060a08688031215610b0557600080fd5b8535610b10816111c4565b945060208601359350604086013592506060860135610b2e816111c4565b949793965091946080013592915050565b600060208284031215610b5157600080fd5b813567ffffffffffffffff811115610b6857600080fd5b610b748482850161093c565b949350505050565b60008060008060808587031215610b9257600080fd5b84359350602085013560ff81168114610baa57600080fd5b93969395505050506040820135916060013590565b600060208284031215610bd157600080fd5b813567ffffffffffffffff811115610be857600080fd5b610b74848285016109b3565b600060208284031215610c05578081fd5b813567ffffffffffffffff80821115610c1c578283fd5b81840160608187031215610c2e578384fd5b610c38606061116d565b925080358352602081013582811115610c4f578485fd5b610c5b878284016109b3565b602085015250604081013582811115610c72578485fd5b610c7e878284016109b3565b6040850152509195945050505050565b600060208284031215610c9f578081fd5b813567ffffffffffffffff80821115610cb6578283fd5b81840160408187031215610cc8578384fd5b610cd2604061116d565b9250803582811115610ce2578485fd5b610cee87828401610a3a565b845250602081013582811115610d02578485fd5b610d0e878284016109b3565b6020850152509195945050505050565b600060208284031215610d3057600080fd5b813567ffffffffffffffff811115610d4757600080fd5b610b7484828501610a3a565b600060208284031215610d6557600080fd5b5035919050565b600080600060608486031215610d80578081fd5b83359250602084013567ffffffffffffffff80821115610d9e578283fd5b610daa878388016109b3565b93506040860135915080821115610dbf578283fd5b50610dcc868287016109b3565b9150509250925092565b60008151808452610dee816020860160208601611194565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815160808452610e356080850182610dd6565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b82851015610ebc577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868303018452610ea8828251610dd6565b600195909501949387019391508601610e6e565b506060880151955088810360608a0152610ed68187610dd6565b9998505050505050505050565b60008351610ef5818460208801611194565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060608252610f576060830186610dd6565b8281036020840152610f698186610dd6565b8381036040850152610f7b8186610dd6565b979650505050505050565b600060208252610f996020830184610dd6565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160806020840152805160a08401526020810151606060c085015261103e610100850182610dd6565b604083015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608582030160e08601526110798183610dd6565b9250505060208401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808584030160408601526110b78383610dd6565b60408701519350818682030160608701526110d28185610dd6565b9250506060860151925080858303016080860152506110f18183610dd6565b95945050505050565b6000602082528251604060208401526111166060840182610e20565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08482030160408501526110f18183610dd6565b600060208252610f996020830184610e20565b90815260200190565b60405181810167ffffffffffffffff8111828210171561118c57600080fd5b604052919050565b60005b838110156111af578181015183820152602001611197565b838111156111be576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461036957600080fdfea365627a7a723058203e0c222c63113a319dc53c3344a48f0a891d37ecc961ddfe87b551d9eeab95146c6578706572696d656e74616cf564736f6c634300050a0040", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1229 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 0x197 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xE3 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xD6D7618C GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x2FC JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x311 JUMPI DUP1 PUSH4 0xEE8B86FB EQ PUSH2 0x319 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x2DE JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x2EE JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x7833BEC0 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x7833BEC0 EQ PUSH2 0x2A3 JUMPI DUP1 PUSH4 0x7A791E6E EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x2CB JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x29B JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x145 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0x11F JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x272 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x4303A542 EQ PUSH2 0x245 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x24D JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x176 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0x3687617D EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x217 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x19C JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x1A6 JUMPI DUP1 PUSH4 0x1310E444 EQ PUSH2 0x1B9 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A4 PUSH2 0x32C JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x369 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x1C7 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x36C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x1164 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A4 PUSH2 0x1F0 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x373 JUMP JUMPDEST PUSH2 0x208 PUSH2 0x203 CALLDATASIZE PUSH1 0x4 PUSH2 0xD6C JUMP JUMPDEST PUSH2 0x3C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF44 JUMP JUMPDEST PUSH2 0x22A PUSH2 0x225 CALLDATASIZE PUSH1 0x4 PUSH2 0xB7C JUMP JUMPDEST PUSH2 0x464 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0xF05 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xBBF JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x546 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x54D JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x265 PUSH2 0x5E4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x10FA JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x5EC JUMP JUMPDEST PUSH2 0x22A PUSH2 0x288 CALLDATASIZE PUSH1 0x4 PUSH2 0xAED JUMP JUMPDEST PUSH2 0x651 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xD1E JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x65A JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x2B1 CALLDATASIZE PUSH1 0x4 PUSH2 0xBF4 JUMP JUMPDEST PUSH2 0x668 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x100E JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x725 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x2D9 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x72A JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x730 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x73B JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xC8E JUMP JUMPDEST PUSH2 0x304 PUSH2 0x740 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x1151 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x899 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x327 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x1B4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x35E SWAP1 PUSH2 0xFD7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST POP JUMP JUMPDEST POP PUSH2 0x7C7 SWAP1 JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x3B9 SWAP2 SWAP1 PUSH2 0x1164 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP6 ADD DUP6 MSTORE DUP3 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP4 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE SWAP2 DUP5 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP5 ADD MSTORE SWAP1 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1C DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4B5 SWAP3 SWAP2 SWAP1 PUSH2 0xEE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x1 DUP2 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x4F0 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF26 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x512 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 ADD MLOAD SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x7C7 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH32 0x5245564552545F574954485F434F4E5354414E54000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x35E SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xF86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x35E SWAP1 PUSH2 0xFA0 JUMP JUMPDEST PUSH2 0x54A PUSH2 0x89F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x15 DUP2 MSTORE PUSH32 0x524551554952455F574954485F434F4E5354414E540000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x35E SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xF86 JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 DUP2 SWAP1 SSTORE SWAP1 JUMP JUMPDEST PUSH2 0x670 PUSH2 0x8BF JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x80 DUP2 ADD DUP3 MSTORE SWAP2 DUP3 MSTORE DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 DUP6 ADD SWAP3 SWAP1 SWAP3 MSTORE DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP5 ADD MSTORE DUP5 DUP5 ADD MSTORE DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE DUP3 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP3 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x367 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x748 PUSH2 0x8ED JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x75E JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x7B8 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078333231000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x806 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0xC0 DUP2 ADD DUP3 MSTORE PUSH1 0x5 PUSH1 0x80 DUP3 ADD DUP2 DUP2 MSTORE PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP5 ADD MSTORE DUP3 MSTORE DUP2 DUP5 ADD MSTORE DUP1 DUP3 ADD SWAP4 SWAP1 SWAP4 MSTORE DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x3 DUP2 MSTORE PUSH32 0x6162630000000000000000000000000000000000000000000000000000000000 SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x8B2 PUSH2 0x8ED JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xC0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x8D2 PUSH2 0x91B JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x80 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x94C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x962 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x971 DUP2 DUP3 DUP5 MUL ADD PUSH2 0x116D JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x9A8 JUMPI PUSH2 0x996 DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x9B3 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x97F JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x9C3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9D9 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0xA0A PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x116D JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xA21 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xA4B JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xA55 PUSH1 0x80 PUSH2 0x116D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xA70 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xA7C DUP7 DUP4 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0xA96 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xAAF JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xABB DUP7 DUP4 DUP8 ADD PUSH2 0x93C JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xAD3 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xAE0 DUP6 DUP3 DUP7 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x60 DUP5 ADD MSTORE POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0xB05 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0xB10 DUP2 PUSH2 0x11C4 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0xB2E DUP2 PUSH2 0x11C4 JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP2 SWAP5 PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xB68 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0x93C JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xB92 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xBAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP7 SWAP4 SWAP6 POP POP POP POP PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 PUSH1 0x60 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBD1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xBE8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC05 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xC1C JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x60 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xC2E JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xC38 PUSH1 0x60 PUSH2 0x116D JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP4 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xC4F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xC5B DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP PUSH1 0x40 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xC72 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xC7E DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC9F JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xCB6 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xCC8 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xCD2 PUSH1 0x40 PUSH2 0x116D JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xCE2 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xCEE DUP8 DUP3 DUP5 ADD PUSH2 0xA3A JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD02 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD0E DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD30 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xD47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0xA3A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD65 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xD80 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD9E JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xDAA DUP8 DUP4 DUP9 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xDBF JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xDCC DUP7 DUP3 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0xDEE DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1194 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x80 DUP5 MSTORE PUSH2 0xE35 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x20 SWAP2 POP PUSH4 0xFFFFFFFF DUP3 DUP6 ADD MLOAD AND DUP3 DUP7 ADD MSTORE PUSH1 0x40 DUP5 ADD MLOAD DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE DUP2 DUP2 MLOAD DUP1 DUP5 MSTORE DUP5 DUP5 ADD SWAP2 POP DUP5 DUP6 DUP3 MUL DUP6 ADD ADD DUP6 DUP5 ADD PUSH1 0x0 SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0xEBC JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0xEA8 DUP3 DUP3 MLOAD PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0xED6 DUP2 DUP8 PUSH2 0xDD6 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xEF5 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x1194 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP2 DUP3 MSTORE POP PUSH1 0x20 ADD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP4 DUP5 MSTORE PUSH1 0xFF SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 MSTORE PUSH2 0xF57 PUSH1 0x60 DUP4 ADD DUP7 PUSH2 0xDD6 JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xF69 DUP2 DUP7 PUSH2 0xDD6 JUMP JUMPDEST DUP4 DUP2 SUB PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xF7B DUP2 DUP7 PUSH2 0xDD6 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xF99 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xDD6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455645525400000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xE SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455155495245000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x80 PUSH1 0x20 DUP5 ADD MSTORE DUP1 MLOAD PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x60 PUSH1 0xC0 DUP6 ADD MSTORE PUSH2 0x103E PUSH2 0x100 DUP6 ADD DUP3 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60 DUP6 DUP3 SUB ADD PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x1079 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST SWAP3 POP POP POP PUSH1 0x20 DUP5 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP1 DUP6 DUP5 SUB ADD PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x10B7 DUP4 DUP4 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP DUP2 DUP7 DUP3 SUB ADD PUSH1 0x60 DUP8 ADD MSTORE PUSH2 0x10D2 DUP2 DUP6 PUSH2 0xDD6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP7 ADD MLOAD SWAP3 POP DUP1 DUP6 DUP4 SUB ADD PUSH1 0x80 DUP7 ADD MSTORE POP PUSH2 0x10F1 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1116 PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0xE20 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x10F1 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xF99 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xE20 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x118C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x11AF JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1197 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x11BE JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x369 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 RETURNDATACOPY 0xc 0x22 0x2c PUSH4 0x113A319D 0xc5 EXTCODECOPY CALLER DIFFICULTY LOG4 DUP16 EXP DUP10 SAR CALLDATACOPY 0xec 0xc9 PUSH2 0xDDFE DUP8 0xb5 MLOAD 0xd9 0xee 0xab SWAP6 EQ PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV EXP STOP BLOCKHASH ", - "sourceMap": "641:5808:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:5808:0;;;;;;;" + "object": "0x608060405234801561001057600080fd5b506113c2806100206000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063647341eb11610104578063ae2dae17116100a2578063d88be12f11610071578063d88be12f14610388578063ee8b86fb14610390578063f408fb311461026e578063fa315f9d146103a3576101ce565b8063ae2dae171461033a578063bb60736214610348578063bdab16881461035e578063d6d7618c14610373576101ce565b80637a791e6e116100de5780637a791e6e1461030f5780638ee52b4e146103175780639a3b61851461032a578063a3c2f6b614610332576101ce565b8063647341eb146102d957806376f15d5b146102e75780637833bec0146102ef576101ce565b80634303a54211610171578063586f84b21161014b578063586f84b21461029457806359c28add146102a95780635ba3c7c0146102be57806363d69c88146102c6576101ce565b80634303a5421461027c5780634582eab21461028457806345fdbdb71461028c576101ce565b80632e1a7d4d116101ad5780632e1a7d4d146102195780633687617d1461022c57806336b323961461024e5780633e9ef66a1461026e576101ce565b806209e437146101d35780630527c28f146101dd5780631310e444146101f0575b600080fd5b6101db6103b1565b005b6101db6101eb366004610c35565b6103ee565b6102036101fe366004610cea565b6103f1565b60405161021091906112e4565b60405180910390f35b6101db610227366004610cea565b6103f8565b61023f61023a366004610e62565b610449565b604051610210939291906110b9565b61026161025c366004610c72565b6104e9565b6040516102109190610ffb565b6101db6101eb366004610cb5565b6102036105cb565b6101db6105d2565b6101db610637565b61029c610669565b604051610210919061126f565b6102b1610671565b604051610210919061127a565b6101db610679565b6102616102d4366004610be3565b6106de565b6101db6101eb366004610e2d565b6102036106e7565b6103026102fd366004610d03565b6106f5565b6040516102109190611183565b6101db6107b2565b610203610325366004610cea565b6107b7565b6101db6107bd565b6102036107c8565b6101db6101eb366004610d9d565b6103506107cd565b6040516102109291906112ed565b610366610806565b604051610210919061101c565b61037b61080b565b60405161021091906112d1565b610203610964565b6101db61039e366004610cea565b6101eb565b6101db6101eb366004610cea565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e39061114c565b60405180910390fd5b565b50565b506107c790565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b658260405161043e91906112e4565b60405180910390a250565b505060408051808201825260048082527f1234567800000000000000000000000000000000000000000000000000000000602080840191909152835180850185528281527f87654321000000000000000000000000000000000000000000000000000000008183015284518086019095529184527f616d657400000000000000000000000000000000000000000000000000000000908401529093909250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a33320000000081525090506000818760405160200161053a929190610fd9565b60405160208183030381529060405280519060200120905060018187878760405160008152602001604052604051610575949392919061109b565b6020604051602081039080840390855afa158015610597573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b6107c75b90565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526103e391906004016110fb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e390611115565b6105cf61096a565b6105cf610982565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526103e391906004016110fb565b50929392505050565b600080546001019081905590565b6106fd6109a2565b50604080516080810182529182528051808201825260048082527f123456780000000000000000000000000000000000000000000000000000000060208381019190915280850192909252825180840184528181527f87654321000000000000000000000000000000000000000000000000000000008184015284840152825180840190935282527f616d65740000000000000000000000000000000000000000000000000000000090820152606082015290565b6103ec565b60010190565b600080546001019055565b600190565b60408051808201909152600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152600191565b606090565b6108136109d0565b6040805160028082526060828101909352816020015b60608152602001906001900390816108295790505090506040518060400160405280600581526020017f30783132330000000000000000000000000000000000000000000000000000008152508160008151811061088357fe5b60200260200101819052506040518060400160405280600581526020017f3078333231000000000000000000000000000000000000000000000000000000815250816001815181106108d157fe5b6020908102919091018101919091526040805160c0810182526005608082018181527f307831323300000000000000000000000000000000000000000000000000000060a0840152825281840152808201939093528051808201909152600381527f6162630000000000000000000000000000000000000000000000000000000000918101919091526060820152905090565b6104d290565b604051806020016040528061097d6109fe565b905290565b6040518060a001604052806109956109d0565b8152602001606081525090565b6040518060c001604052806109b5610a11565b81526020016060815260200160608152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b6040518060200160405280600081525090565b60405180606001604052806000815260200160608152602001606081525090565b600082601f830112610a42578081fd5b813567ffffffffffffffff811115610a58578182fd5b6020610a678182840201611306565b828152925080830184820160005b84811015610a9e57610a8c888584358a0101610aa9565b83529183019190830190600101610a75565b505050505092915050565b600082601f830112610ab9578081fd5b813567ffffffffffffffff811115610acf578182fd5b610b0060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611306565b9150808252836020828501011115610b1757600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610b41578081fd5b610b4b6080611306565b90506000823567ffffffffffffffff80821115610b66578283fd5b610b7286838701610aa9565b84526020850135915063ffffffff82168214610b8c578283fd5b8160208501526040850135915080821115610ba5578283fd5b610bb186838701610a32565b60408501526060850135915080821115610bc9578283fd5b50610bd685828601610aa9565b6060840152505092915050565b600080600080600060a08688031215610bfb57600080fd5b8535610c068161135d565b945060208601359350604086013592506060860135610c248161135d565b949793965091946080013592915050565b600060208284031215610c4757600080fd5b813567ffffffffffffffff811115610c5e57600080fd5b610c6a84828501610a32565b949350505050565b60008060008060808587031215610c8857600080fd5b84359350602085013560ff81168114610ca057600080fd5b93969395505050506040820135916060013590565b600060208284031215610cc757600080fd5b813567ffffffffffffffff811115610cde57600080fd5b610c6a84828501610aa9565b600060208284031215610cfc57600080fd5b5035919050565b600060208284031215610d14578081fd5b813567ffffffffffffffff80821115610d2b578283fd5b81840160608187031215610d3d578384fd5b610d476060611306565b925080358352602081013582811115610d5e578485fd5b610d6a87828401610aa9565b602085015250604081013582811115610d81578485fd5b610d8d87828401610aa9565b6040850152509195945050505050565b600060208284031215610dae578081fd5b813567ffffffffffffffff80821115610dc5578283fd5b81840160408187031215610dd7578384fd5b610de16040611306565b9250803582811115610df1578485fd5b610dfd87828401610b30565b845250602081013582811115610e11578485fd5b610e1d87828401610aa9565b6020850152509195945050505050565b600060208284031215610e3f57600080fd5b813567ffffffffffffffff811115610e5657600080fd5b610c6a84828501610b30565b600080600060608486031215610e76578081fd5b83359250602084013567ffffffffffffffff80821115610e94578283fd5b610ea087838801610aa9565b93506040860135915080821115610eb5578283fd5b50610ec286828701610aa9565b9150509250925092565b60008151808452610ee481602086016020860161132d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815160808452610f2b6080850182610ecc565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b82851015610fb2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868303018452610f9e828251610ecc565b600195909501949387019391508601610f64565b506060880151955088810360608a0152610fcc8187610ecc565b9998505050505050505050565b60008351610feb81846020880161132d565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600060208083018184528085518083526040860191506040848202870101925083870160005b8281101561108e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845261107c858351610f16565b94509285019290850190600101611042565b5092979650505050505050565b93845260ff9290921660208401526040830152606082015260800190565b6000606082526110cc6060830186610ecc565b82810360208401526110de8186610ecc565b83810360408501526110f08186610ecc565b979650505050505050565b60006020825261110e6020830184610ecc565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160806020840152805160a08401526020810151606060c08501526111b3610100850182610ecc565b604083015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608582030160e08601526111ee8183610ecc565b9250505060208401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08085840301604086015261122c8383610ecc565b60408701519350818682030160608701526112478185610ecc565b9250506060860151925080858303016080860152506112668183610ecc565b95945050505050565b905151815260200190565b6000602082528251604060208401526112966060840182610f16565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08482030160408501526112668183610ecc565b60006020825261110e6020830184610f16565b90815260200190565b600083825260406020830152610c6a6040830184610ecc565b60405181810167ffffffffffffffff8111828210171561132557600080fd5b604052919050565b60005b83811015611348578181015183820152602001611330565b83811115611357576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146103ee57600080fdfea365627a7a72305820f18aec824fbe25f825f6bee7834c12b23c470fc5917be3638390693d92ccd0336c6578706572696d656e74616cf564736f6c634300050a0040", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x13C2 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 0x1CE JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x647341EB GT PUSH2 0x104 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xD88BE12F GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x388 JUMPI DUP1 PUSH4 0xEE8B86FB EQ PUSH2 0x390 JUMPI DUP1 PUSH4 0xF408FB31 EQ PUSH2 0x26E JUMPI DUP1 PUSH4 0xFA315F9D EQ PUSH2 0x3A3 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x33A JUMPI DUP1 PUSH4 0xBB607362 EQ PUSH2 0x348 JUMPI DUP1 PUSH4 0xBDAB1688 EQ PUSH2 0x35E JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x373 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x7A791E6E GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x7A791E6E EQ PUSH2 0x30F JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x317 JUMPI DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x32A JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x332 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x647341EB EQ PUSH2 0x2D9 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x2E7 JUMPI DUP1 PUSH4 0x7833BEC0 EQ PUSH2 0x2EF JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x4303A542 GT PUSH2 0x171 JUMPI DUP1 PUSH4 0x586F84B2 GT PUSH2 0x14B JUMPI DUP1 PUSH4 0x586F84B2 EQ PUSH2 0x294 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x2A9 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x2BE JUMPI DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x2C6 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x4303A542 EQ PUSH2 0x27C JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x284 JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x28C JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x1AD JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x219 JUMPI DUP1 PUSH4 0x3687617D EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x24E JUMPI DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x26E JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x1D3 JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x1DD JUMPI DUP1 PUSH4 0x1310E444 EQ PUSH2 0x1F0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1DB PUSH2 0x3B1 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xC35 JUMP JUMPDEST PUSH2 0x3EE JUMP JUMPDEST PUSH2 0x203 PUSH2 0x1FE CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x3F1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DB PUSH2 0x227 CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x23F PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0xE62 JUMP JUMPDEST PUSH2 0x449 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x10B9 JUMP JUMPDEST PUSH2 0x261 PUSH2 0x25C CALLDATASIZE PUSH1 0x4 PUSH2 0xC72 JUMP JUMPDEST PUSH2 0x4E9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0xFFB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xCB5 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x5D2 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x637 JUMP JUMPDEST PUSH2 0x29C PUSH2 0x669 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x126F JUMP JUMPDEST PUSH2 0x2B1 PUSH2 0x671 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x127A JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x679 JUMP JUMPDEST PUSH2 0x261 PUSH2 0x2D4 CALLDATASIZE PUSH1 0x4 PUSH2 0xBE3 JUMP JUMPDEST PUSH2 0x6DE JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xE2D JUMP JUMPDEST PUSH2 0x203 PUSH2 0x6E7 JUMP JUMPDEST PUSH2 0x302 PUSH2 0x2FD CALLDATASIZE PUSH1 0x4 PUSH2 0xD03 JUMP JUMPDEST PUSH2 0x6F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x1183 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x7B2 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x325 CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x7BD JUMP JUMPDEST PUSH2 0x203 PUSH2 0x7C8 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xD9D JUMP JUMPDEST PUSH2 0x350 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP3 SWAP2 SWAP1 PUSH2 0x12ED JUMP JUMPDEST PUSH2 0x366 PUSH2 0x806 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x101C JUMP JUMPDEST PUSH2 0x37B PUSH2 0x80B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x12D1 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x964 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x39E CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x1EB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E3 SWAP1 PUSH2 0x114C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST POP JUMP JUMPDEST POP PUSH2 0x7C7 SWAP1 JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x43E SWAP2 SWAP1 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP6 ADD DUP6 MSTORE DUP3 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP4 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE SWAP2 DUP5 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP5 ADD MSTORE SWAP1 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1C DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x53A SWAP3 SWAP2 SWAP1 PUSH2 0xFD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x1 DUP2 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x575 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x109B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x597 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 ADD MLOAD SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x7C7 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH32 0x5245564552545F574954485F434F4E5354414E54000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x3E3 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x10FB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E3 SWAP1 PUSH2 0x1115 JUMP JUMPDEST PUSH2 0x5CF PUSH2 0x96A JUMP JUMPDEST PUSH2 0x5CF PUSH2 0x982 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x15 DUP2 MSTORE PUSH32 0x524551554952455F574954485F434F4E5354414E540000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x3E3 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x10FB JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 DUP2 SWAP1 SSTORE SWAP1 JUMP JUMPDEST PUSH2 0x6FD PUSH2 0x9A2 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x80 DUP2 ADD DUP3 MSTORE SWAP2 DUP3 MSTORE DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 DUP6 ADD SWAP3 SWAP1 SWAP3 MSTORE DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP5 ADD MSTORE DUP5 DUP5 ADD MSTORE DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE DUP3 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP3 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x3EC JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x5 DUP2 MSTORE PUSH32 0x68656C6C6F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 SWAP2 JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST PUSH2 0x813 PUSH2 0x9D0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x829 JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x883 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078333231000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x8D1 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0xC0 DUP2 ADD DUP3 MSTORE PUSH1 0x5 PUSH1 0x80 DUP3 ADD DUP2 DUP2 MSTORE PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP5 ADD MSTORE DUP3 MSTORE DUP2 DUP5 ADD MSTORE DUP1 DUP3 ADD SWAP4 SWAP1 SWAP4 MSTORE DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x3 DUP2 MSTORE PUSH32 0x6162630000000000000000000000000000000000000000000000000000000000 SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x97D PUSH2 0x9FE JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x995 PUSH2 0x9D0 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xC0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x9B5 PUSH2 0xA11 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x80 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xA42 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA58 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0xA67 DUP2 DUP3 DUP5 MUL ADD PUSH2 0x1306 JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0xA9E JUMPI PUSH2 0xA8C DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0xAA9 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xA75 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xAB9 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xACF JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0xB00 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x1306 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xB17 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB41 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xB4B PUSH1 0x80 PUSH2 0x1306 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xB66 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xB72 DUP7 DUP4 DUP8 ADD PUSH2 0xAA9 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0xB8C JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xBA5 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xBB1 DUP7 DUP4 DUP8 ADD PUSH2 0xA32 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xBC9 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xBD6 DUP6 DUP3 DUP7 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x60 DUP5 ADD MSTORE POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0xBFB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0xC06 DUP2 PUSH2 0x135D JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0xC24 DUP2 PUSH2 0x135D JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP2 SWAP5 PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xC5E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xA32 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xC88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xCA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP7 SWAP4 SWAP6 POP POP POP POP PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 PUSH1 0x60 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xCDE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD14 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD2B JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x60 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xD3D JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xD47 PUSH1 0x60 PUSH2 0x1306 JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP4 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD5E JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD6A DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP PUSH1 0x40 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD81 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD8D DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDAE JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xDC5 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xDD7 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xDE1 PUSH1 0x40 PUSH2 0x1306 JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xDF1 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xDFD DUP8 DUP3 DUP5 ADD PUSH2 0xB30 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xE11 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xE1D DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xB30 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xE76 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xE94 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xEA0 DUP8 DUP4 DUP9 ADD PUSH2 0xAA9 JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xEB5 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xEC2 DUP7 DUP3 DUP8 ADD PUSH2 0xAA9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0xEE4 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x132D JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x80 DUP5 MSTORE PUSH2 0xF2B PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x20 SWAP2 POP PUSH4 0xFFFFFFFF DUP3 DUP6 ADD MLOAD AND DUP3 DUP7 ADD MSTORE PUSH1 0x40 DUP5 ADD MLOAD DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE DUP2 DUP2 MLOAD DUP1 DUP5 MSTORE DUP5 DUP5 ADD SWAP2 POP DUP5 DUP6 DUP3 MUL DUP6 ADD ADD DUP6 DUP5 ADD PUSH1 0x0 SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0xFB2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0xF9E DUP3 DUP3 MLOAD PUSH2 0xECC JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0xF64 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0xFCC DUP2 DUP8 PUSH2 0xECC JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xFEB DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x132D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP2 DUP3 MSTORE POP PUSH1 0x20 ADD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP5 DUP3 MUL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x108E JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x107C DUP6 DUP4 MLOAD PUSH2 0xF16 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1042 JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST SWAP4 DUP5 MSTORE PUSH1 0xFF SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 MSTORE PUSH2 0x10CC PUSH1 0x60 DUP4 ADD DUP7 PUSH2 0xECC JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x10DE DUP2 DUP7 PUSH2 0xECC JUMP JUMPDEST DUP4 DUP2 SUB PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x10F0 DUP2 DUP7 PUSH2 0xECC JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x110E PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xECC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455645525400000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xE SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455155495245000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x80 PUSH1 0x20 DUP5 ADD MSTORE DUP1 MLOAD PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x60 PUSH1 0xC0 DUP6 ADD MSTORE PUSH2 0x11B3 PUSH2 0x100 DUP6 ADD DUP3 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60 DUP6 DUP3 SUB ADD PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x11EE DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST SWAP3 POP POP POP PUSH1 0x20 DUP5 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP1 DUP6 DUP5 SUB ADD PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x122C DUP4 DUP4 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP DUP2 DUP7 DUP3 SUB ADD PUSH1 0x60 DUP8 ADD MSTORE PUSH2 0x1247 DUP2 DUP6 PUSH2 0xECC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP7 ADD MLOAD SWAP3 POP DUP1 DUP6 DUP4 SUB ADD PUSH1 0x80 DUP7 ADD MSTORE POP PUSH2 0x1266 DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 MLOAD MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1296 PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0xF16 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x1266 DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x110E PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xF16 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP3 MSTORE PUSH1 0x40 PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0xC6A PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1325 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1348 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1330 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1357 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x3EE JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 CALL DUP11 0xec DUP3 0x4f 0xbe 0x25 0xf8 0x25 0xf6 0xbe 0xe7 DUP4 0x4c SLT 0xb2 EXTCODECOPY 0x47 0xf 0xc5 SWAP2 PUSH28 0xE3638390693D92CCD0336C6578706572696D656E74616CF564736F6C PUSH4 0x4300050A STOP BLOCKHASH ", + "sourceMap": "641:6501:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:6501:0;;;;;;;" }, "deployedBytecode": { "linkReferences": {}, - "object": "0x608060405234801561001057600080fd5b50600436106101975760003560e01c806363d69c88116100e35780639a3b61851161008c578063d6d7618c11610066578063d6d7618c146102fc578063d88be12f14610311578063ee8b86fb1461031957610197565b80639a3b6185146102de578063a3c2f6b6146102e6578063ae2dae17146102ee57610197565b80637833bec0116100bd5780637833bec0146102a35780637a791e6e146102c35780638ee52b4e146102cb57610197565b806363d69c881461027a578063647341eb1461028d57806376f15d5b1461029b57610197565b80633e9ef66a1161014557806345fdbdb71161011f57806345fdbdb71461025557806359c28add1461025d5780635ba3c7c01461027257610197565b80633e9ef66a146102375780634303a542146102455780634582eab21461024d57610197565b80632e1a7d4d116101765780632e1a7d4d146101e25780633687617d146101f557806336b323961461021757610197565b806209e4371461019c5780630527c28f146101a65780631310e444146101b9575b600080fd5b6101a461032c565b005b6101a46101b4366004610b3f565b610369565b6101cc6101c7366004610d53565b61036c565b6040516101d99190611164565b60405180910390f35b6101a46101f0366004610d53565b610373565b610208610203366004610d6c565b6103c4565b6040516101d993929190610f44565b61022a610225366004610b7c565b610464565b6040516101d99190610f05565b6101a46101b4366004610bbf565b6101cc610546565b6101a461054d565b6101a46105b2565b6102656105e4565b6040516101d991906110fa565b6101a46105ec565b61022a610288366004610aed565b610651565b6101a46101b4366004610d1e565b6101cc61065a565b6102b66102b1366004610bf4565b610668565b6040516101d9919061100e565b6101a4610725565b6101cc6102d9366004610d53565b61072a565b6101a4610730565b6101cc61073b565b6101a46101b4366004610c8e565b610304610740565b6040516101d99190611151565b6101cc610899565b6101a4610327366004610d53565b6101b4565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035e90610fd7565b60405180910390fd5b565b50565b506107c790565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516103b99190611164565b60405180910390a250565b505060408051808201825260048082527f1234567800000000000000000000000000000000000000000000000000000000602080840191909152835180850185528281527f87654321000000000000000000000000000000000000000000000000000000008183015284518086019095529184527f616d657400000000000000000000000000000000000000000000000000000000908401529093909250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016104b5929190610ee3565b604051602081830303815290604052805190602001209050600181878787604051600081526020016040526040516104f09493929190610f26565b6020604051602081039080840390855afa158015610512573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b6107c75b90565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a000000000000000000000000000000000000000000000000000000000815261035e9190600401610f86565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035e90610fa0565b61054a61089f565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a000000000000000000000000000000000000000000000000000000000815261035e9190600401610f86565b50929392505050565b600080546001019081905590565b6106706108bf565b50604080516080810182529182528051808201825260048082527f123456780000000000000000000000000000000000000000000000000000000060208381019190915280850192909252825180840184528181527f87654321000000000000000000000000000000000000000000000000000000008184015284840152825180840190935282527f616d65740000000000000000000000000000000000000000000000000000000090820152606082015290565b610367565b60010190565b600080546001019055565b600190565b6107486108ed565b6040805160028082526060828101909352816020015b606081526020019060019003908161075e5790505090506040518060400160405280600581526020017f3078313233000000000000000000000000000000000000000000000000000000815250816000815181106107b857fe5b60200260200101819052506040518060400160405280600581526020017f30783332310000000000000000000000000000000000000000000000000000008152508160018151811061080657fe5b6020908102919091018101919091526040805160c0810182526005608082018181527f307831323300000000000000000000000000000000000000000000000000000060a0840152825281840152808201939093528051808201909152600381527f6162630000000000000000000000000000000000000000000000000000000000918101919091526060820152905090565b6104d290565b6040518060a001604052806108b26108ed565b8152602001606081525090565b6040518060c001604052806108d261091b565b81526020016060815260200160608152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b60405180606001604052806000815260200160608152602001606081525090565b600082601f83011261094c578081fd5b813567ffffffffffffffff811115610962578182fd5b6020610971818284020161116d565b828152925080830184820160005b848110156109a857610996888584358a01016109b3565b8352918301919083019060010161097f565b505050505092915050565b600082601f8301126109c3578081fd5b813567ffffffffffffffff8111156109d9578182fd5b610a0a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161116d565b9150808252836020828501011115610a2157600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610a4b578081fd5b610a55608061116d565b90506000823567ffffffffffffffff80821115610a70578283fd5b610a7c868387016109b3565b84526020850135915063ffffffff82168214610a96578283fd5b8160208501526040850135915080821115610aaf578283fd5b610abb8683870161093c565b60408501526060850135915080821115610ad3578283fd5b50610ae0858286016109b3565b6060840152505092915050565b600080600080600060a08688031215610b0557600080fd5b8535610b10816111c4565b945060208601359350604086013592506060860135610b2e816111c4565b949793965091946080013592915050565b600060208284031215610b5157600080fd5b813567ffffffffffffffff811115610b6857600080fd5b610b748482850161093c565b949350505050565b60008060008060808587031215610b9257600080fd5b84359350602085013560ff81168114610baa57600080fd5b93969395505050506040820135916060013590565b600060208284031215610bd157600080fd5b813567ffffffffffffffff811115610be857600080fd5b610b74848285016109b3565b600060208284031215610c05578081fd5b813567ffffffffffffffff80821115610c1c578283fd5b81840160608187031215610c2e578384fd5b610c38606061116d565b925080358352602081013582811115610c4f578485fd5b610c5b878284016109b3565b602085015250604081013582811115610c72578485fd5b610c7e878284016109b3565b6040850152509195945050505050565b600060208284031215610c9f578081fd5b813567ffffffffffffffff80821115610cb6578283fd5b81840160408187031215610cc8578384fd5b610cd2604061116d565b9250803582811115610ce2578485fd5b610cee87828401610a3a565b845250602081013582811115610d02578485fd5b610d0e878284016109b3565b6020850152509195945050505050565b600060208284031215610d3057600080fd5b813567ffffffffffffffff811115610d4757600080fd5b610b7484828501610a3a565b600060208284031215610d6557600080fd5b5035919050565b600080600060608486031215610d80578081fd5b83359250602084013567ffffffffffffffff80821115610d9e578283fd5b610daa878388016109b3565b93506040860135915080821115610dbf578283fd5b50610dcc868287016109b3565b9150509250925092565b60008151808452610dee816020860160208601611194565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815160808452610e356080850182610dd6565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b82851015610ebc577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868303018452610ea8828251610dd6565b600195909501949387019391508601610e6e565b506060880151955088810360608a0152610ed68187610dd6565b9998505050505050505050565b60008351610ef5818460208801611194565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060608252610f576060830186610dd6565b8281036020840152610f698186610dd6565b8381036040850152610f7b8186610dd6565b979650505050505050565b600060208252610f996020830184610dd6565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160806020840152805160a08401526020810151606060c085015261103e610100850182610dd6565b604083015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608582030160e08601526110798183610dd6565b9250505060208401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808584030160408601526110b78383610dd6565b60408701519350818682030160608701526110d28185610dd6565b9250506060860151925080858303016080860152506110f18183610dd6565b95945050505050565b6000602082528251604060208401526111166060840182610e20565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08482030160408501526110f18183610dd6565b600060208252610f996020830184610e20565b90815260200190565b60405181810167ffffffffffffffff8111828210171561118c57600080fd5b604052919050565b60005b838110156111af578181015183820152602001611197565b838111156111be576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461036957600080fdfea365627a7a723058203e0c222c63113a319dc53c3344a48f0a891d37ecc961ddfe87b551d9eeab95146c6578706572696d656e74616cf564736f6c634300050a0040", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x197 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xE3 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xD6D7618C GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x2FC JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x311 JUMPI DUP1 PUSH4 0xEE8B86FB EQ PUSH2 0x319 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x2DE JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x2EE JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x7833BEC0 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x7833BEC0 EQ PUSH2 0x2A3 JUMPI DUP1 PUSH4 0x7A791E6E EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x2CB JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x29B JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x145 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0x11F JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x272 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x4303A542 EQ PUSH2 0x245 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x24D JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x176 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0x3687617D EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x217 JUMPI PUSH2 0x197 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x19C JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x1A6 JUMPI DUP1 PUSH4 0x1310E444 EQ PUSH2 0x1B9 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A4 PUSH2 0x32C JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x369 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x1C7 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x36C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x1164 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A4 PUSH2 0x1F0 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x373 JUMP JUMPDEST PUSH2 0x208 PUSH2 0x203 CALLDATASIZE PUSH1 0x4 PUSH2 0xD6C JUMP JUMPDEST PUSH2 0x3C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF44 JUMP JUMPDEST PUSH2 0x22A PUSH2 0x225 CALLDATASIZE PUSH1 0x4 PUSH2 0xB7C JUMP JUMPDEST PUSH2 0x464 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0xF05 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xBBF JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x546 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x54D JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x265 PUSH2 0x5E4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x10FA JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x5EC JUMP JUMPDEST PUSH2 0x22A PUSH2 0x288 CALLDATASIZE PUSH1 0x4 PUSH2 0xAED JUMP JUMPDEST PUSH2 0x651 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xD1E JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x65A JUMP JUMPDEST PUSH2 0x2B6 PUSH2 0x2B1 CALLDATASIZE PUSH1 0x4 PUSH2 0xBF4 JUMP JUMPDEST PUSH2 0x668 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x100E JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x725 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x2D9 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x72A JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x730 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x73B JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x1B4 CALLDATASIZE PUSH1 0x4 PUSH2 0xC8E JUMP JUMPDEST PUSH2 0x304 PUSH2 0x740 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1D9 SWAP2 SWAP1 PUSH2 0x1151 JUMP JUMPDEST PUSH2 0x1CC PUSH2 0x899 JUMP JUMPDEST PUSH2 0x1A4 PUSH2 0x327 CALLDATASIZE PUSH1 0x4 PUSH2 0xD53 JUMP JUMPDEST PUSH2 0x1B4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x35E SWAP1 PUSH2 0xFD7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST POP JUMP JUMPDEST POP PUSH2 0x7C7 SWAP1 JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x3B9 SWAP2 SWAP1 PUSH2 0x1164 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP6 ADD DUP6 MSTORE DUP3 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP4 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE SWAP2 DUP5 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP5 ADD MSTORE SWAP1 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1C DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4B5 SWAP3 SWAP2 SWAP1 PUSH2 0xEE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x1 DUP2 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x4F0 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF26 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x512 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 ADD MLOAD SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x7C7 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH32 0x5245564552545F574954485F434F4E5354414E54000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x35E SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xF86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x35E SWAP1 PUSH2 0xFA0 JUMP JUMPDEST PUSH2 0x54A PUSH2 0x89F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x15 DUP2 MSTORE PUSH32 0x524551554952455F574954485F434F4E5354414E540000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x35E SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xF86 JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 DUP2 SWAP1 SSTORE SWAP1 JUMP JUMPDEST PUSH2 0x670 PUSH2 0x8BF JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x80 DUP2 ADD DUP3 MSTORE SWAP2 DUP3 MSTORE DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 DUP6 ADD SWAP3 SWAP1 SWAP3 MSTORE DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP5 ADD MSTORE DUP5 DUP5 ADD MSTORE DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE DUP3 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP3 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x367 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x748 PUSH2 0x8ED JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x75E JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x7B8 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078333231000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x806 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0xC0 DUP2 ADD DUP3 MSTORE PUSH1 0x5 PUSH1 0x80 DUP3 ADD DUP2 DUP2 MSTORE PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP5 ADD MSTORE DUP3 MSTORE DUP2 DUP5 ADD MSTORE DUP1 DUP3 ADD SWAP4 SWAP1 SWAP4 MSTORE DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x3 DUP2 MSTORE PUSH32 0x6162630000000000000000000000000000000000000000000000000000000000 SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x8B2 PUSH2 0x8ED JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xC0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x8D2 PUSH2 0x91B JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x80 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x94C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x962 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x971 DUP2 DUP3 DUP5 MUL ADD PUSH2 0x116D JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x9A8 JUMPI PUSH2 0x996 DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x9B3 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x97F JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x9C3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9D9 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0xA0A PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x116D JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xA21 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xA4B JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xA55 PUSH1 0x80 PUSH2 0x116D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xA70 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xA7C DUP7 DUP4 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0xA96 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xAAF JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xABB DUP7 DUP4 DUP8 ADD PUSH2 0x93C JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xAD3 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xAE0 DUP6 DUP3 DUP7 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x60 DUP5 ADD MSTORE POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0xB05 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0xB10 DUP2 PUSH2 0x11C4 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0xB2E DUP2 PUSH2 0x11C4 JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP2 SWAP5 PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xB68 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0x93C JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xB92 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xBAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP7 SWAP4 SWAP6 POP POP POP POP PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 PUSH1 0x60 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBD1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xBE8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC05 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xC1C JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x60 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xC2E JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xC38 PUSH1 0x60 PUSH2 0x116D JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP4 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xC4F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xC5B DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP PUSH1 0x40 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xC72 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xC7E DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC9F JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xCB6 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xCC8 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xCD2 PUSH1 0x40 PUSH2 0x116D JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xCE2 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xCEE DUP8 DUP3 DUP5 ADD PUSH2 0xA3A JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD02 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD0E DUP8 DUP3 DUP5 ADD PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD30 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xD47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB74 DUP5 DUP3 DUP6 ADD PUSH2 0xA3A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD65 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xD80 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD9E JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xDAA DUP8 DUP4 DUP9 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xDBF JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xDCC DUP7 DUP3 DUP8 ADD PUSH2 0x9B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0xDEE DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1194 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x80 DUP5 MSTORE PUSH2 0xE35 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x20 SWAP2 POP PUSH4 0xFFFFFFFF DUP3 DUP6 ADD MLOAD AND DUP3 DUP7 ADD MSTORE PUSH1 0x40 DUP5 ADD MLOAD DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE DUP2 DUP2 MLOAD DUP1 DUP5 MSTORE DUP5 DUP5 ADD SWAP2 POP DUP5 DUP6 DUP3 MUL DUP6 ADD ADD DUP6 DUP5 ADD PUSH1 0x0 SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0xEBC JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0xEA8 DUP3 DUP3 MLOAD PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0xED6 DUP2 DUP8 PUSH2 0xDD6 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xEF5 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x1194 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP2 DUP3 MSTORE POP PUSH1 0x20 ADD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP4 DUP5 MSTORE PUSH1 0xFF SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 MSTORE PUSH2 0xF57 PUSH1 0x60 DUP4 ADD DUP7 PUSH2 0xDD6 JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xF69 DUP2 DUP7 PUSH2 0xDD6 JUMP JUMPDEST DUP4 DUP2 SUB PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xF7B DUP2 DUP7 PUSH2 0xDD6 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xF99 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xDD6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455645525400000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xE SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455155495245000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x80 PUSH1 0x20 DUP5 ADD MSTORE DUP1 MLOAD PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x60 PUSH1 0xC0 DUP6 ADD MSTORE PUSH2 0x103E PUSH2 0x100 DUP6 ADD DUP3 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60 DUP6 DUP3 SUB ADD PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x1079 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST SWAP3 POP POP POP PUSH1 0x20 DUP5 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP1 DUP6 DUP5 SUB ADD PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x10B7 DUP4 DUP4 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP DUP2 DUP7 DUP3 SUB ADD PUSH1 0x60 DUP8 ADD MSTORE PUSH2 0x10D2 DUP2 DUP6 PUSH2 0xDD6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP7 ADD MLOAD SWAP3 POP DUP1 DUP6 DUP4 SUB ADD PUSH1 0x80 DUP7 ADD MSTORE POP PUSH2 0x10F1 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1116 PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0xE20 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x10F1 DUP2 DUP4 PUSH2 0xDD6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xF99 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xE20 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x118C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x11AF JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1197 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x11BE JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x369 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 RETURNDATACOPY 0xc 0x22 0x2c PUSH4 0x113A319D 0xc5 EXTCODECOPY CALLER DIFFICULTY LOG4 DUP16 EXP DUP10 SAR CALLDATACOPY 0xec 0xc9 PUSH2 0xDDFE DUP8 0xb5 MLOAD 0xd9 0xee 0xab SWAP6 EQ PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV EXP STOP BLOCKHASH ", - "sourceMap": "641:5808:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:5808:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1496:107;;;:::i;:::-;;3190:63;;;;;;;;;:::i;5413:128::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2585:84;;;;;;;;;:::i;6036:345::-;;;;;;;;;:::i;:::-;;;;;;;;;;2184:334;;;;;;;;;:::i;:::-;;;;;;;;3028:52;;;;;;;5018:117;;;:::i;1389:101::-;;;:::i;1286:97::-;;;:::i;4047:73::-;;;:::i;:::-;;;;;;;;1609:111;;;:::i;2823:166::-;;;;;;;;;:::i;3399:52::-;;;;;;;4146:72;;;:::i;5614:317::-;;;;;;;;;:::i;:::-;;;;;;;;4827:112;;;:::i;989:140::-;;;;;;;;;:::i;4223:69::-;;;:::i;862:121::-;;;:::i;3978:64::-;;;;;;;3533:350;;;:::i;:::-;;;;;;;;1135:145;;;:::i;5214:123::-;;;;;;;;;:::i;1496:107::-;1564:32;;;;;;;;;;;;;;;;;;;;1496:107::o;3190:63::-;;:::o;5413:128::-;-1:-1:-1;5530:4:0;;5413:128::o;2585:84::-;2646:10;2635:27;;;2658:3;2635:27;;;;;;;;;;;;;;;2585:84;:::o;6036:345::-;-1:-1:-1;;6283:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6036:345:0:o;2184:334::-;2295:21;2332:19;:56;;;;;;;;;;;;;;;;;;;2398:20;2448:6;2456:4;2431:30;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2431:30:0;;;2421:41;;;;;;2398:64;;2479:32;2489:12;2503:1;2506;2509;2479:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;2479:32:0;;;;;;2184:334;-1:-1:-1;;;;;;;;2184:334:0:o;5018:117::-;5124:4;5018:117;;:::o;1389:101::-;1469:13;;;;;;;;;;;;;;;;1462:21;;;;;;;1469:13;1462:21;;;;1286:97;1353:23;;;;;;;;;;;4047:73;4097:19;;:::i;1609:111::-;1698:14;;;;;;;;;;;;;;;;1683:30;;;;;;;1698:14;1683:30;;;;2823:166;-1:-1:-1;2981:1:0;;2823:166;-1:-1:-1;;;2823:166:0:o;4146:72::-;4186:4;4201:14;;4214:1;4201:14;;;;;4146:72;:::o;5614:317::-;5728:20;;:::i;:::-;-1:-1:-1;5771:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5614:317::o;4827:112::-;4911:21;;989:140;1117:1;:5;;989:140::o;4223:69::-;4275:9;:14;;4288:1;4275:14;;;4223:69::o;862:121::-;975:1;862:121;:::o;3533:350::-;3577:15;;:::i;:::-;3631:14;;;3643:1;3631:14;;;3604:24;3631:14;;;;;;;;;;;;;;;;;;;;;;;;;;3604:41;;3655:22;;;;;;;;;;;;;;;;;:9;3665:1;3655:12;;;;;;;;;;;;;:22;;;;3687;;;;;;;;;;;;;;;;;:9;3697:1;3687:12;;;;;;;;;;;;;;;;;;:22;;;;3727:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3727:149:0;;;;-1:-1:-1;3533:350:0;:::o;1135:145::-;711:4;1135:145;:::o;641:5808::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;158:685:-1:-;;276:3;269:4;261:6;257:17;253:27;243:2;;-1:-1;;284:12;243:2;331:6;318:20;26546:18;26538:6;26535:30;26532:2;;;-1:-1;;26568:12;26532:2;26613:4;353:81;26676:4;26613;26605:6;26601:17;26666:15;353:81;;;462:21;;;344:90;-1:-1;519:14;;;494:17;;;614:1;599:238;624:6;621:1;618:13;599:238;;;731:42;769:3;506:4;707:3;694:17;498:6;682:30;;731:42;;;719:55;;788:14;;;;816;;;;646:1;639:9;599:238;;;603:14;;;;;236:607;;;;;1706:432;;1803:3;1796:4;1788:6;1784:17;1780:27;1770:2;;-1:-1;;1811:12;1770:2;1858:6;1845:20;27153:18;27145:6;27142:30;27139:2;;;-1:-1;;27175:12;27139:2;1880:60;27316:4;27248:9;1796:4;27233:6;27229:17;27225:33;27306:15;1880:60;;;1871:69;;1960:6;1953:5;1946:21;2064:3;27316:4;2055:6;1988;2046:16;;2043:25;2040:2;;;2081:1;;2071:12;2040:2;30896:6;27316:4;1988:6;1984:17;27316:4;2022:5;2018:16;30873:30;30952:1;30934:16;;;27316:4;30934:16;30927:27;2022:5;1763:375;-1:-1;;1763:375;5086:1071;;5194:4;5182:9;5177:3;5173:19;5169:30;5166:2;;;-1:-1;;5202:12;5166:2;5230:20;5194:4;5230:20;;;5221:29;;5333:1;5318:17;5305:31;5356:18;;5348:6;5345:30;5342:2;;;5388:1;5385;5378:12;5342:2;5422:54;5472:3;5463:6;5452:9;5448:22;5422:54;;;5405:15;5398:79;5543:2;5600:9;5596:22;7481:20;7472:29;;30703:10;31888:5;30692:22;31864:5;31861:34;31851:2;;31909:1;31906;31899:12;31851:2;5576:48;5543:2;5562:5;5558:16;5551:74;5730:2;5719:9;5715:18;5702:32;5688:46;;5754:18;5746:6;5743:30;5740:2;;;5786:1;5783;5776:12;5740:2;5821:75;5892:3;5883:6;5872:9;5868:22;5821:75;;;5730:2;5807:5;5803:16;5796:101;5989:2;5978:9;5974:18;5961:32;5947:46;;6013:18;6005:6;6002:30;5999:2;;;6045:1;6042;6035:12;5999:2;;6080:55;6131:3;6122:6;6111:9;6107:22;6080:55;;;5989:2;6066:5;6062:16;6055:81;;;5160:997;;;;;7683:743;;;;;;7855:3;7843:9;7834:7;7830:23;7826:33;7823:2;;;-1:-1;;7862:12;7823:2;85:6;72:20;97:33;124:5;97:33;;;7914:63;-1:-1;8014:2;8053:22;;7345:20;;-1:-1;8122:2;8161:22;;7345:20;;-1:-1;8230:2;8269:22;;72:20;97:33;72:20;97:33;;;7817:609;;;;-1:-1;7817:609;;8338:3;8378:22;7345:20;;7817:609;-1:-1;;7817:609;8433:387;;8567:2;8555:9;8546:7;8542:23;8538:32;8535:2;;;-1:-1;;8573:12;8535:2;8631:17;8618:31;8669:18;8661:6;8658:30;8655:2;;;-1:-1;;8691:12;8655:2;8721:83;8796:7;8787:6;8776:9;8772:22;8721:83;;;8711:93;8529:291;-1:-1;;;;8529:291;8827:613;;;;;8980:3;8968:9;8959:7;8955:23;8951:33;8948:2;;;-1:-1;;8987:12;8948:2;1648:6;1635:20;9039:63;;9139:2;9180:9;9176:22;7615:20;30797:4;32008:5;30786:16;31985:5;31982:33;31972:2;;-1:-1;;32019:12;31972:2;8942:498;;9147:61;;-1:-1;;;;9245:2;9284:22;;1635:20;;9353:2;9392:22;1635:20;;8942:498;9447:345;;9560:2;9548:9;9539:7;9535:23;9531:32;9528:2;;;-1:-1;;9566:12;9528:2;9624:17;9611:31;9662:18;9654:6;9651:30;9648:2;;;-1:-1;;9684:12;9648:2;9714:62;9768:7;9759:6;9748:9;9744:22;9714:62;;9799:385;;9932:2;9920:9;9911:7;9907:23;9903:32;9900:2;;;9948:1;9945;9938:12;9900:2;9996:17;9983:31;10034:18;;10026:6;10023:30;10020:2;;;10066:1;10063;10056:12;10020:2;10151:6;10140:9;10136:22;3645:4;3633:9;3628:3;3624:19;3620:30;3617:2;;;3663:1;3660;3653:12;3617:2;3681:20;3645:4;3681:20;;;3672:29;;7358:6;7345:20;3764:15;3757:74;9932:2;3908:9;3904:18;3891:32;3943:18;3935:6;3932:30;3929:2;;;3975:1;3972;3965:12;3929:2;4010:54;4060:3;4051:6;4040:9;4036:22;4010:54;;;9932:2;3996:5;3992:16;3985:80;;4153:2;4142:9;4138:18;4125:32;4177:18;4169:6;4166:30;4163:2;;;4209:1;4206;4199:12;4163:2;4244:55;4295:3;4286:6;4275:9;4271:22;4244:55;;;4153:2;4226:16;;4219:81;-1:-1;4230:5;;9894:290;-1:-1;;;;;9894:290;10191:385;;10324:2;10312:9;10303:7;10299:23;10295:32;10292:2;;;10340:1;10337;10330:12;10292:2;10388:17;10375:31;10426:18;;10418:6;10415:30;10412:2;;;10458:1;10455;10448:12;10412:2;10543:6;10532:9;10528:22;4484:4;4472:9;4467:3;4463:19;4459:30;4456:2;;;4502:1;4499;4492:12;4456:2;4520:20;4484:4;4520:20;;;4511:29;;4610:17;4597:31;4648:18;4640:6;4637:30;4634:2;;;4680:1;4677;4670:12;4634:2;4714:68;4778:3;4769:6;4758:9;4754:22;4714:68;;;4697:15;4690:93;;10324:2;4868:9;4864:18;4851:32;4903:18;4895:6;4892:30;4889:2;;;4935:1;4932;4925:12;4889:2;4970:55;5021:3;5012:6;5001:9;4997:22;4970:55;;;10324:2;4952:16;;4945:81;-1:-1;4956:5;;10286:290;-1:-1;;;;;10286:290;10583:373;;10710:2;10698:9;10689:7;10685:23;10681:32;10678:2;;;-1:-1;;10716:12;10678:2;10774:17;10761:31;10812:18;10804:6;10801:30;10798:2;;;-1:-1;;10834:12;10798:2;10864:76;10932:7;10923:6;10912:9;10908:22;10864:76;;10963:241;;11067:2;11055:9;11046:7;11042:23;11038:32;11035:2;;;-1:-1;;11073:12;11035:2;-1:-1;7345:20;;11029:175;-1:-1;11029:175;11211:701;;;;11368:2;11356:9;11347:7;11343:23;11339:32;11336:2;;;11384:1;11381;11374:12;11336:2;7358:6;7345:20;11426:63;;11554:2;11543:9;11539:18;11526:32;11578:18;;11570:6;11567:30;11564:2;;;11610:1;11607;11600:12;11564:2;11630:62;11684:7;11675:6;11664:9;11660:22;11630:62;;;11620:72;;11757:2;11746:9;11742:18;11729:32;11715:46;;11781:18;11773:6;11770:30;11767:2;;;11813:1;11810;11803:12;11767:2;;11833:63;11888:7;11879:6;11868:9;11864:22;11833:63;;;11823:73;;;11330:582;;;;;;13391:343;;13533:5;28583:12;29372:6;29367:3;29360:19;13626:52;13671:6;29409:4;29404:3;29400:14;29409:4;13652:5;13648:16;13626:52;;;31414:2;31394:14;31410:7;31390:28;13690:39;;;;29409:4;13690:39;;13481:253;-1:-1;;13481:253;19103:1078;;19327:15;19321:22;19250:4;19363:13;19356:37;19408:67;19250:4;19245:3;19241:14;19456:12;19408:67;;;19565:4;;;30703:10;19565:4;19558:5;19554:16;19548:23;30692:22;19632:4;19627:3;19623:14;21609:36;19733:4;19726:5;19722:16;19716:23;19785:3;19779:4;19775:14;19733:4;19763:3;19759:14;19752:38;19805:109;12442:5;28583:12;29372:6;29367:3;29360:19;29409:4;29404:3;29400:14;12454:88;;19565:4;12607;12599:6;12595:17;29404:3;12586:27;;28445:4;12685:5;28436:14;-1:-1;12730:10;;12724:341;12749:6;12746:1;12743:13;12724:341;;;12801:20;29404:3;12805:4;12801:20;;12796:3;12789:33;12031:60;12087:3;12856:6;12850:13;12031:60;;;12771:1;12764:9;;;;;13044:14;;;;12870:82;-1:-1;29220:14;;12724:341;;;12728:14;20002:4;19995:5;19991:16;19985:23;19965:43;;20054:3;20048:4;20044:14;20002:4;20032:3;20028:14;20021:38;20074:69;20138:4;20124:12;20074:69;;;20165:11;19223:958;-1:-1;;;;;;;;;19223:958;21771:401;;13901:5;28583:12;14012:52;14057:6;14052:3;14045:4;14038:5;14034:16;14012:52;;;14076:16;;;;13183:37;;;-1:-1;14045:4;22135:12;;21924:248;-1:-1;21924:248;22179:213;30497:42;30486:54;;;;12176:37;;22297:2;22282:18;;22268:124;22399:539;13183:37;;;30797:4;30786:16;;;;22758:2;22743:18;;21724:35;22841:2;22826:18;;13183:37;22924:2;22909:18;;13183:37;22597:3;22582:19;;22568:370;22945:691;;23175:2;23196:17;23189:47;23250:76;23175:2;23164:9;23160:18;23312:6;23250:76;;;23374:9;23368:4;23364:20;23359:2;23348:9;23344:18;23337:48;23399:76;23470:4;23461:6;23399:76;;;23523:9;23517:4;23513:20;23508:2;23497:9;23493:18;23486:48;23548:78;23621:4;23612:6;23548:78;;;23540:86;23146:490;-1:-1;;;;;;;23146:490;23643:293;;23777:2;23798:17;23791:47;23852:74;23777:2;23766:9;23762:18;23912:6;23852:74;;;23844:82;23748:188;-1:-1;;;23748:188;23943:407;24134:2;24148:47;;;15677:2;24119:18;;;29360:19;15713:66;29400:14;;;15693:87;15799:12;;;24105:245;24357:407;24548:2;24562:47;;;16050:2;24533:18;;;29360:19;16086:66;29400:14;;;16066:87;16172:12;;;24519:245;24771:381;;24949:2;24970:17;24963:47;17367:15;17361:22;17294:4;24949:2;24938:9;24934:18;17396:37;16487:15;16481:22;17285:14;24938:9;17285:14;13183:37;24949:2;16642:5;16638:16;16632:23;16416:4;16675:14;24938:9;16675:14;16668:38;16721:67;16407:14;24938:9;16407:14;16769:12;16721:67;;;16872:4;16865:5;16861:16;16855:23;16835:43;;16914:14;24938:9;16918:4;16914:14;;16898;24938:9;16898:14;16891:38;16944:69;17008:4;16994:12;16944:69;;;17035:11;;;;24949:2;17634:5;17630:16;17624:23;17683:14;;24938:9;17687:4;17683:14;;16872:4;24938:9;17667:14;17660:38;17713:67;17775:4;17761:12;17713:67;;;16872:4;17859:5;17855:16;17849:23;17829:43;;17908:14;24938:9;17912:4;17908:14;;16416:4;24938:9;17892:14;17885:38;17938:67;18000:4;17986:12;17938:67;;;17930:75;;;16416:4;18084:5;18080:16;18074:23;18054:43;;18133:14;24938:9;18137:4;18133:14;;17294:4;24938:9;18117:14;18110:38;;18163:69;18227:4;18213:12;18163:69;;;25016:126;24920:232;-1:-1;;;;;24920:232;25159:377;;25335:2;25356:17;25349:47;18588:15;18582:22;18509:4;25335:2;25324:9;25320:18;18617:37;18669:95;18500:14;25324:9;18500:14;18745:12;18669:95;;;25335:2;18849:5;18845:16;18839:23;18819:43;;18898:14;25324:9;18902:4;18898:14;;18509:4;25324:9;18882:14;18875:38;18928:69;18992:4;18978:12;18928:69;;25543:353;;25707:2;25728:17;25721:47;25782:104;25707:2;25696:9;25692:18;25872:6;25782:104;;25903:213;13183:37;;;26021:2;26006:18;;25992:124;26123:256;26185:2;26179:9;26211:17;;;26286:18;26271:34;;26307:22;;;26268:62;26265:2;;;26343:1;;26333:12;26265:2;26185;26352:22;26163:216;;-1:-1;26163:216;30969:268;31034:1;31041:101;31055:6;31052:1;31049:13;31041:101;;;31122:11;;;31116:18;31103:11;;;31096:39;31077:2;31070:10;31041:101;;;31157:6;31154:1;31151:13;31148:2;;;31034:1;31213:6;31208:3;31204:16;31197:27;31148:2;;31018:219;;;;31431:117;30497:42;31518:5;30486:54;31493:5;31490:35;31480:2;;31539:1;;31529:12" + "object": "0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063647341eb11610104578063ae2dae17116100a2578063d88be12f11610071578063d88be12f14610388578063ee8b86fb14610390578063f408fb311461026e578063fa315f9d146103a3576101ce565b8063ae2dae171461033a578063bb60736214610348578063bdab16881461035e578063d6d7618c14610373576101ce565b80637a791e6e116100de5780637a791e6e1461030f5780638ee52b4e146103175780639a3b61851461032a578063a3c2f6b614610332576101ce565b8063647341eb146102d957806376f15d5b146102e75780637833bec0146102ef576101ce565b80634303a54211610171578063586f84b21161014b578063586f84b21461029457806359c28add146102a95780635ba3c7c0146102be57806363d69c88146102c6576101ce565b80634303a5421461027c5780634582eab21461028457806345fdbdb71461028c576101ce565b80632e1a7d4d116101ad5780632e1a7d4d146102195780633687617d1461022c57806336b323961461024e5780633e9ef66a1461026e576101ce565b806209e437146101d35780630527c28f146101dd5780631310e444146101f0575b600080fd5b6101db6103b1565b005b6101db6101eb366004610c35565b6103ee565b6102036101fe366004610cea565b6103f1565b60405161021091906112e4565b60405180910390f35b6101db610227366004610cea565b6103f8565b61023f61023a366004610e62565b610449565b604051610210939291906110b9565b61026161025c366004610c72565b6104e9565b6040516102109190610ffb565b6101db6101eb366004610cb5565b6102036105cb565b6101db6105d2565b6101db610637565b61029c610669565b604051610210919061126f565b6102b1610671565b604051610210919061127a565b6101db610679565b6102616102d4366004610be3565b6106de565b6101db6101eb366004610e2d565b6102036106e7565b6103026102fd366004610d03565b6106f5565b6040516102109190611183565b6101db6107b2565b610203610325366004610cea565b6107b7565b6101db6107bd565b6102036107c8565b6101db6101eb366004610d9d565b6103506107cd565b6040516102109291906112ed565b610366610806565b604051610210919061101c565b61037b61080b565b60405161021091906112d1565b610203610964565b6101db61039e366004610cea565b6101eb565b6101db6101eb366004610cea565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e39061114c565b60405180910390fd5b565b50565b506107c790565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b658260405161043e91906112e4565b60405180910390a250565b505060408051808201825260048082527f1234567800000000000000000000000000000000000000000000000000000000602080840191909152835180850185528281527f87654321000000000000000000000000000000000000000000000000000000008183015284518086019095529184527f616d657400000000000000000000000000000000000000000000000000000000908401529093909250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a33320000000081525090506000818760405160200161053a929190610fd9565b60405160208183030381529060405280519060200120905060018187878760405160008152602001604052604051610575949392919061109b565b6020604051602081039080840390855afa158015610597573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b6107c75b90565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526103e391906004016110fb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e390611115565b6105cf61096a565b6105cf610982565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526103e391906004016110fb565b50929392505050565b600080546001019081905590565b6106fd6109a2565b50604080516080810182529182528051808201825260048082527f123456780000000000000000000000000000000000000000000000000000000060208381019190915280850192909252825180840184528181527f87654321000000000000000000000000000000000000000000000000000000008184015284840152825180840190935282527f616d65740000000000000000000000000000000000000000000000000000000090820152606082015290565b6103ec565b60010190565b600080546001019055565b600190565b60408051808201909152600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152600191565b606090565b6108136109d0565b6040805160028082526060828101909352816020015b60608152602001906001900390816108295790505090506040518060400160405280600581526020017f30783132330000000000000000000000000000000000000000000000000000008152508160008151811061088357fe5b60200260200101819052506040518060400160405280600581526020017f3078333231000000000000000000000000000000000000000000000000000000815250816001815181106108d157fe5b6020908102919091018101919091526040805160c0810182526005608082018181527f307831323300000000000000000000000000000000000000000000000000000060a0840152825281840152808201939093528051808201909152600381527f6162630000000000000000000000000000000000000000000000000000000000918101919091526060820152905090565b6104d290565b604051806020016040528061097d6109fe565b905290565b6040518060a001604052806109956109d0565b8152602001606081525090565b6040518060c001604052806109b5610a11565b81526020016060815260200160608152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b6040518060200160405280600081525090565b60405180606001604052806000815260200160608152602001606081525090565b600082601f830112610a42578081fd5b813567ffffffffffffffff811115610a58578182fd5b6020610a678182840201611306565b828152925080830184820160005b84811015610a9e57610a8c888584358a0101610aa9565b83529183019190830190600101610a75565b505050505092915050565b600082601f830112610ab9578081fd5b813567ffffffffffffffff811115610acf578182fd5b610b0060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611306565b9150808252836020828501011115610b1757600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610b41578081fd5b610b4b6080611306565b90506000823567ffffffffffffffff80821115610b66578283fd5b610b7286838701610aa9565b84526020850135915063ffffffff82168214610b8c578283fd5b8160208501526040850135915080821115610ba5578283fd5b610bb186838701610a32565b60408501526060850135915080821115610bc9578283fd5b50610bd685828601610aa9565b6060840152505092915050565b600080600080600060a08688031215610bfb57600080fd5b8535610c068161135d565b945060208601359350604086013592506060860135610c248161135d565b949793965091946080013592915050565b600060208284031215610c4757600080fd5b813567ffffffffffffffff811115610c5e57600080fd5b610c6a84828501610a32565b949350505050565b60008060008060808587031215610c8857600080fd5b84359350602085013560ff81168114610ca057600080fd5b93969395505050506040820135916060013590565b600060208284031215610cc757600080fd5b813567ffffffffffffffff811115610cde57600080fd5b610c6a84828501610aa9565b600060208284031215610cfc57600080fd5b5035919050565b600060208284031215610d14578081fd5b813567ffffffffffffffff80821115610d2b578283fd5b81840160608187031215610d3d578384fd5b610d476060611306565b925080358352602081013582811115610d5e578485fd5b610d6a87828401610aa9565b602085015250604081013582811115610d81578485fd5b610d8d87828401610aa9565b6040850152509195945050505050565b600060208284031215610dae578081fd5b813567ffffffffffffffff80821115610dc5578283fd5b81840160408187031215610dd7578384fd5b610de16040611306565b9250803582811115610df1578485fd5b610dfd87828401610b30565b845250602081013582811115610e11578485fd5b610e1d87828401610aa9565b6020850152509195945050505050565b600060208284031215610e3f57600080fd5b813567ffffffffffffffff811115610e5657600080fd5b610c6a84828501610b30565b600080600060608486031215610e76578081fd5b83359250602084013567ffffffffffffffff80821115610e94578283fd5b610ea087838801610aa9565b93506040860135915080821115610eb5578283fd5b50610ec286828701610aa9565b9150509250925092565b60008151808452610ee481602086016020860161132d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815160808452610f2b6080850182610ecc565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b82851015610fb2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868303018452610f9e828251610ecc565b600195909501949387019391508601610f64565b506060880151955088810360608a0152610fcc8187610ecc565b9998505050505050505050565b60008351610feb81846020880161132d565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600060208083018184528085518083526040860191506040848202870101925083870160005b8281101561108e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845261107c858351610f16565b94509285019290850190600101611042565b5092979650505050505050565b93845260ff9290921660208401526040830152606082015260800190565b6000606082526110cc6060830186610ecc565b82810360208401526110de8186610ecc565b83810360408501526110f08186610ecc565b979650505050505050565b60006020825261110e6020830184610ecc565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160806020840152805160a08401526020810151606060c08501526111b3610100850182610ecc565b604083015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608582030160e08601526111ee8183610ecc565b9250505060208401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08085840301604086015261122c8383610ecc565b60408701519350818682030160608701526112478185610ecc565b9250506060860151925080858303016080860152506112668183610ecc565b95945050505050565b905151815260200190565b6000602082528251604060208401526112966060840182610f16565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08482030160408501526112668183610ecc565b60006020825261110e6020830184610f16565b90815260200190565b600083825260406020830152610c6a6040830184610ecc565b60405181810167ffffffffffffffff8111828210171561132557600080fd5b604052919050565b60005b83811015611348578181015183820152602001611330565b83811115611357576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146103ee57600080fdfea365627a7a72305820f18aec824fbe25f825f6bee7834c12b23c470fc5917be3638390693d92ccd0336c6578706572696d656e74616cf564736f6c634300050a0040", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1CE JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x647341EB GT PUSH2 0x104 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xD88BE12F GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x388 JUMPI DUP1 PUSH4 0xEE8B86FB EQ PUSH2 0x390 JUMPI DUP1 PUSH4 0xF408FB31 EQ PUSH2 0x26E JUMPI DUP1 PUSH4 0xFA315F9D EQ PUSH2 0x3A3 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x33A JUMPI DUP1 PUSH4 0xBB607362 EQ PUSH2 0x348 JUMPI DUP1 PUSH4 0xBDAB1688 EQ PUSH2 0x35E JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x373 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x7A791E6E GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x7A791E6E EQ PUSH2 0x30F JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x317 JUMPI DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x32A JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x332 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x647341EB EQ PUSH2 0x2D9 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x2E7 JUMPI DUP1 PUSH4 0x7833BEC0 EQ PUSH2 0x2EF JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x4303A542 GT PUSH2 0x171 JUMPI DUP1 PUSH4 0x586F84B2 GT PUSH2 0x14B JUMPI DUP1 PUSH4 0x586F84B2 EQ PUSH2 0x294 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x2A9 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x2BE JUMPI DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x2C6 JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x4303A542 EQ PUSH2 0x27C JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x284 JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x28C JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH4 0x2E1A7D4D GT PUSH2 0x1AD JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x219 JUMPI DUP1 PUSH4 0x3687617D EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x24E JUMPI DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x26E JUMPI PUSH2 0x1CE JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x1D3 JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x1DD JUMPI DUP1 PUSH4 0x1310E444 EQ PUSH2 0x1F0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1DB PUSH2 0x3B1 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xC35 JUMP JUMPDEST PUSH2 0x3EE JUMP JUMPDEST PUSH2 0x203 PUSH2 0x1FE CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x3F1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DB PUSH2 0x227 CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x23F PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0xE62 JUMP JUMPDEST PUSH2 0x449 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x10B9 JUMP JUMPDEST PUSH2 0x261 PUSH2 0x25C CALLDATASIZE PUSH1 0x4 PUSH2 0xC72 JUMP JUMPDEST PUSH2 0x4E9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0xFFB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xCB5 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x5D2 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x637 JUMP JUMPDEST PUSH2 0x29C PUSH2 0x669 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x126F JUMP JUMPDEST PUSH2 0x2B1 PUSH2 0x671 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x127A JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x679 JUMP JUMPDEST PUSH2 0x261 PUSH2 0x2D4 CALLDATASIZE PUSH1 0x4 PUSH2 0xBE3 JUMP JUMPDEST PUSH2 0x6DE JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xE2D JUMP JUMPDEST PUSH2 0x203 PUSH2 0x6E7 JUMP JUMPDEST PUSH2 0x302 PUSH2 0x2FD CALLDATASIZE PUSH1 0x4 PUSH2 0xD03 JUMP JUMPDEST PUSH2 0x6F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x1183 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x7B2 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x325 CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x7BD JUMP JUMPDEST PUSH2 0x203 PUSH2 0x7C8 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xD9D JUMP JUMPDEST PUSH2 0x350 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP3 SWAP2 SWAP1 PUSH2 0x12ED JUMP JUMPDEST PUSH2 0x366 PUSH2 0x806 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x101C JUMP JUMPDEST PUSH2 0x37B PUSH2 0x80B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x210 SWAP2 SWAP1 PUSH2 0x12D1 JUMP JUMPDEST PUSH2 0x203 PUSH2 0x964 JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x39E CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH2 0x1EB JUMP JUMPDEST PUSH2 0x1DB PUSH2 0x1EB CALLDATASIZE PUSH1 0x4 PUSH2 0xCEA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E3 SWAP1 PUSH2 0x114C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST POP JUMP JUMPDEST POP PUSH2 0x7C7 SWAP1 JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x43E SWAP2 SWAP1 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP6 ADD DUP6 MSTORE DUP3 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP4 ADD MSTORE DUP5 MLOAD DUP1 DUP7 ADD SWAP1 SWAP6 MSTORE SWAP2 DUP5 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP5 ADD MSTORE SWAP1 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1C DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x53A SWAP3 SWAP2 SWAP1 PUSH2 0xFD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x1 DUP2 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x575 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x109B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x597 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 ADD MLOAD SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x7C7 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH32 0x5245564552545F574954485F434F4E5354414E54000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x3E3 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x10FB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3E3 SWAP1 PUSH2 0x1115 JUMP JUMPDEST PUSH2 0x5CF PUSH2 0x96A JUMP JUMPDEST PUSH2 0x5CF PUSH2 0x982 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x15 DUP2 MSTORE PUSH32 0x524551554952455F574954485F434F4E5354414E540000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH2 0x3E3 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x10FB JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 DUP2 SWAP1 SSTORE SWAP1 JUMP JUMPDEST PUSH2 0x6FD PUSH2 0x9A2 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x80 DUP2 ADD DUP3 MSTORE SWAP2 DUP3 MSTORE DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH32 0x1234567800000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 DUP6 ADD SWAP3 SWAP1 SWAP3 MSTORE DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 DUP2 MSTORE PUSH32 0x8765432100000000000000000000000000000000000000000000000000000000 DUP2 DUP5 ADD MSTORE DUP5 DUP5 ADD MSTORE DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE DUP3 MSTORE PUSH32 0x616D657400000000000000000000000000000000000000000000000000000000 SWAP1 DUP3 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x3EC JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x5 DUP2 MSTORE PUSH32 0x68656C6C6F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 SWAP2 JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST PUSH2 0x813 PUSH2 0x9D0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x829 JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x883 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3078333231000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x8D1 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0xC0 DUP2 ADD DUP3 MSTORE PUSH1 0x5 PUSH1 0x80 DUP3 ADD DUP2 DUP2 MSTORE PUSH32 0x3078313233000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP5 ADD MSTORE DUP3 MSTORE DUP2 DUP5 ADD MSTORE DUP1 DUP3 ADD SWAP4 SWAP1 SWAP4 MSTORE DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x3 DUP2 MSTORE PUSH32 0x6162630000000000000000000000000000000000000000000000000000000000 SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP3 ADD MSTORE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x97D PUSH2 0x9FE JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x995 PUSH2 0x9D0 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xC0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x9B5 PUSH2 0xA11 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x80 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xA42 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA58 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0xA67 DUP2 DUP3 DUP5 MUL ADD PUSH2 0x1306 JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0xA9E JUMPI PUSH2 0xA8C DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0xAA9 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0xA75 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xAB9 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xACF JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0xB00 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x1306 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xB17 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB41 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xB4B PUSH1 0x80 PUSH2 0x1306 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xB66 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xB72 DUP7 DUP4 DUP8 ADD PUSH2 0xAA9 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0xB8C JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xBA5 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xBB1 DUP7 DUP4 DUP8 ADD PUSH2 0xA32 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xBC9 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xBD6 DUP6 DUP3 DUP7 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x60 DUP5 ADD MSTORE POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0xBFB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0xC06 DUP2 PUSH2 0x135D JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0xC24 DUP2 PUSH2 0x135D JUMP JUMPDEST SWAP5 SWAP8 SWAP4 SWAP7 POP SWAP2 SWAP5 PUSH1 0x80 ADD CALLDATALOAD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC47 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xC5E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xA32 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xC88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xCA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP7 SWAP4 SWAP6 POP POP POP POP PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 PUSH1 0x60 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xCDE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD14 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD2B JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x60 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xD3D JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xD47 PUSH1 0x60 PUSH2 0x1306 JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP4 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD5E JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD6A DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP PUSH1 0x40 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xD81 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xD8D DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDAE JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xDC5 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0xDD7 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0xDE1 PUSH1 0x40 PUSH2 0x1306 JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xDF1 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xDFD DUP8 DUP3 DUP5 ADD PUSH2 0xB30 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0xE11 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0xE1D DUP8 DUP3 DUP5 ADD PUSH2 0xAA9 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE POP SWAP2 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xE3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC6A DUP5 DUP3 DUP6 ADD PUSH2 0xB30 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xE76 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xE94 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0xEA0 DUP8 DUP4 DUP9 ADD PUSH2 0xAA9 JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0xEB5 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0xEC2 DUP7 DUP3 DUP8 ADD PUSH2 0xAA9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0xEE4 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x132D JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x80 DUP5 MSTORE PUSH2 0xF2B PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x20 SWAP2 POP PUSH4 0xFFFFFFFF DUP3 DUP6 ADD MLOAD AND DUP3 DUP7 ADD MSTORE PUSH1 0x40 DUP5 ADD MLOAD DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE DUP2 DUP2 MLOAD DUP1 DUP5 MSTORE DUP5 DUP5 ADD SWAP2 POP DUP5 DUP6 DUP3 MUL DUP6 ADD ADD DUP6 DUP5 ADD PUSH1 0x0 SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0xFB2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0xF9E DUP3 DUP3 MLOAD PUSH2 0xECC JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0xF64 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0xFCC DUP2 DUP8 PUSH2 0xECC JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xFEB DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0x132D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP2 DUP3 MSTORE POP PUSH1 0x20 ADD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP5 DUP3 MUL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x108E JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x107C DUP6 DUP4 MLOAD PUSH2 0xF16 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1042 JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST SWAP4 DUP5 MSTORE PUSH1 0xFF SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 MSTORE PUSH2 0x10CC PUSH1 0x60 DUP4 ADD DUP7 PUSH2 0xECC JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x10DE DUP2 DUP7 PUSH2 0xECC JUMP JUMPDEST DUP4 DUP2 SUB PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x10F0 DUP2 DUP7 PUSH2 0xECC JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x110E PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xECC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455645525400000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xE SWAP1 DUP3 ADD MSTORE PUSH32 0x53494D504C455F52455155495245000000000000000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x80 PUSH1 0x20 DUP5 ADD MSTORE DUP1 MLOAD PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x60 PUSH1 0xC0 DUP6 ADD MSTORE PUSH2 0x11B3 PUSH2 0x100 DUP6 ADD DUP3 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60 DUP6 DUP3 SUB ADD PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x11EE DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST SWAP3 POP POP POP PUSH1 0x20 DUP5 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP1 DUP6 DUP5 SUB ADD PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x122C DUP4 DUP4 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP DUP2 DUP7 DUP3 SUB ADD PUSH1 0x60 DUP8 ADD MSTORE PUSH2 0x1247 DUP2 DUP6 PUSH2 0xECC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP7 ADD MLOAD SWAP3 POP DUP1 DUP6 DUP4 SUB ADD PUSH1 0x80 DUP7 ADD MSTORE POP PUSH2 0x1266 DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 MLOAD MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD PUSH1 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1296 PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0xF16 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0x1266 DUP2 DUP4 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x110E PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xF16 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP3 MSTORE PUSH1 0x40 PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0xC6A PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1325 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1348 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1330 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1357 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x3EE JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 CALL DUP11 0xec DUP3 0x4f 0xbe 0x25 0xf8 0x25 0xf6 0xbe 0xe7 DUP4 0x4c SLT 0xb2 EXTCODECOPY 0x47 0xf 0xc5 SWAP2 PUSH28 0xE3638390693D92CCD0336C6578706572696D656E74616CF564736F6C PUSH4 0x4300050A STOP BLOCKHASH ", + "sourceMap": "641:6501:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:6501:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1496:107;;;:::i;:::-;;3190:63;;;;;;;;;:::i;6106:128::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2585:84;;;;;;;;;:::i;6729:345::-;;;;;;;;;:::i;:::-;;;;;;;;;;2184:334;;;;;;;;;:::i;:::-;;;;;;;;3028:52;;;;;;;5711:117;;;:::i;1389:101::-;;;:::i;1286:97::-;;;:::i;4401:153::-;;;:::i;:::-;;;;;;;;4133:73;;;:::i;:::-;;;;;;;;1609:111;;;:::i;2823:166::-;;;;;;;;;:::i;3399:52::-;;;;;;;4580:72;;;:::i;6307:317::-;;;;;;;;;:::i;:::-;;;;;;;;5520:112;;;:::i;989:140::-;;;;;;;;;:::i;4657:69::-;;;:::i;862:121::-;;;:::i;4064:64::-;;;;;;;4732:134;;;:::i;:::-;;;;;;;;;3889:80;;;:::i;:::-;;;;;;;;3533:350;;;:::i;:::-;;;;;;;;1135:145;;;:::i;5907:123::-;;;;;;;;;:::i;4872:47::-;;;;;;;1496:107;1564:32;;;;;;;;;;;;;;;;;;;;1496:107::o;3190:63::-;;:::o;6106:128::-;-1:-1:-1;6223:4:0;;6106:128::o;2585:84::-;2646:10;2635:27;;;2658:3;2635:27;;;;;;;;;;;;;;;2585:84;:::o;6729:345::-;-1:-1:-1;;6976:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6729:345:0:o;2184:334::-;2295:21;2332:19;:56;;;;;;;;;;;;;;;;;;;2398:20;2448:6;2456:4;2431:30;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2431:30:0;;;2421:41;;;;;;2398:64;;2479:32;2489:12;2503:1;2506;2509;2479:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;2479:32:0;;;;;;2184:334;-1:-1:-1;;;;;;;;2184:334:0:o;5711:117::-;5817:4;5711:117;;:::o;1389:101::-;1469:13;;;;;;;;;;;;;;;;1462:21;;;;;;;1469:13;1462:21;;;;1286:97;1353:23;;;;;;;;;;;4401:153;4495:51;;:::i;4133:73::-;4183:19;;:::i;1609:111::-;1698:14;;;;;;;;;;;;;;;;1683:30;;;;;;;1698:14;1683:30;;;;2823:166;-1:-1:-1;2981:1:0;;2823:166;-1:-1:-1;;;2823:166:0:o;4580:72::-;4620:4;4635:14;;4648:1;4635:14;;;;;4580:72;:::o;6307:317::-;6421:20;;:::i;:::-;-1:-1:-1;6464:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6307:317::o;5520:112::-;5604:21;;989:140;1117:1;:5;;989:140::o;4657:69::-;4709:9;:14;;4722:1;4709:14;;;4657:69::o;862:121::-;975:1;862:121;:::o;4732:134::-;4840:19;;;;;;;;;;;;;;;;;4848:1;4732:134;:::o;3889:80::-;3950:15;3889:80;:::o;3533:350::-;3577:15;;:::i;:::-;3631:14;;;3643:1;3631:14;;;3604:24;3631:14;;;;;;;;;;;;;;;;;;;;;;;;;;3604:41;;3655:22;;;;;;;;;;;;;;;;;:9;3665:1;3655:12;;;;;;;;;;;;;:22;;;;3687;;;;;;;;;;;;;;;;;:9;3697:1;3687:12;;;;;;;;;;;;;;;;;;:22;;;;3727:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3727:149:0;;;;-1:-1:-1;3533:350:0;:::o;1135:145::-;711:4;1135:145;:::o;641:6501::-;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;158:685:-1:-;;276:3;269:4;261:6;257:17;253:27;243:2;;-1:-1;;284:12;243:2;331:6;318:20;31012:18;31004:6;31001:30;30998:2;;;-1:-1;;31034:12;30998:2;31079:4;353:81;31142:4;31079;31071:6;31067:17;31132:15;353:81;;;462:21;;;344:90;-1:-1;519:14;;;494:17;;;614:1;599:238;624:6;621:1;618:13;599:238;;;731:42;769:3;506:4;707:3;694:17;498:6;682:30;;731:42;;;719:55;;788:14;;;;816;;;;646:1;639:9;599:238;;;603:14;;;;;236:607;;;;;1706:432;;1803:3;1796:4;1788:6;1784:17;1780:27;1770:2;;-1:-1;;1811:12;1770:2;1858:6;1845:20;31619:18;31611:6;31608:30;31605:2;;;-1:-1;;31641:12;31605:2;1880:60;31782:4;31714:9;1796:4;31699:6;31695:17;31691:33;31772:15;1880:60;;;1871:69;;1960:6;1953:5;1946:21;2064:3;31782:4;2055:6;1988;2046:16;;2043:25;2040:2;;;2081:1;;2071:12;2040:2;36120:6;31782:4;1988:6;1984:17;31782:4;2022:5;2018:16;36097:30;36176:1;36158:16;;;31782:4;36158:16;36151:27;2022:5;1763:375;-1:-1;;1763:375;5221:1071;;5329:4;5317:9;5312:3;5308:19;5304:30;5301:2;;;-1:-1;;5337:12;5301:2;5365:20;5329:4;5365:20;;;5356:29;;5468:1;5453:17;5440:31;5491:18;;5483:6;5480:30;5477:2;;;5523:1;5520;5513:12;5477:2;5557:54;5607:3;5598:6;5587:9;5583:22;5557:54;;;5540:15;5533:79;5678:2;5735:9;5731:22;7616:20;7607:29;;35927:10;37234:5;35916:22;37210:5;37207:34;37197:2;;37255:1;37252;37245:12;37197:2;5711:48;5678:2;5697:5;5693:16;5686:74;5865:2;5854:9;5850:18;5837:32;5823:46;;5889:18;5881:6;5878:30;5875:2;;;5921:1;5918;5911:12;5875:2;5956:75;6027:3;6018:6;6007:9;6003:22;5956:75;;;5865:2;5942:5;5938:16;5931:101;6124:2;6113:9;6109:18;6096:32;6082:46;;6148:18;6140:6;6137:30;6134:2;;;6180:1;6177;6170:12;6134:2;;6215:55;6266:3;6257:6;6246:9;6242:22;6215:55;;;6124:2;6201:5;6197:16;6190:81;;;5295:997;;;;;7818:743;;;;;;7990:3;7978:9;7969:7;7965:23;7961:33;7958:2;;;-1:-1;;7997:12;7958:2;85:6;72:20;97:33;124:5;97:33;;;8049:63;-1:-1;8149:2;8188:22;;7480:20;;-1:-1;8257:2;8296:22;;7480:20;;-1:-1;8365:2;8404:22;;72:20;97:33;72:20;97:33;;;7952:609;;;;-1:-1;7952:609;;8473:3;8513:22;7480:20;;7952:609;-1:-1;;7952:609;8568:387;;8702:2;8690:9;8681:7;8677:23;8673:32;8670:2;;;-1:-1;;8708:12;8670:2;8766:17;8753:31;8804:18;8796:6;8793:30;8790:2;;;-1:-1;;8826:12;8790:2;8856:83;8931:7;8922:6;8911:9;8907:22;8856:83;;;8846:93;8664:291;-1:-1;;;;8664:291;8962:613;;;;;9115:3;9103:9;9094:7;9090:23;9086:33;9083:2;;;-1:-1;;9122:12;9083:2;1648:6;1635:20;9174:63;;9274:2;9315:9;9311:22;7750:20;36021:4;37354:5;36010:16;37331:5;37328:33;37318:2;;-1:-1;;37365:12;37318:2;9077:498;;9282:61;;-1:-1;;;;9380:2;9419:22;;1635:20;;9488:2;9527:22;1635:20;;9077:498;9582:345;;9695:2;9683:9;9674:7;9670:23;9666:32;9663:2;;;-1:-1;;9701:12;9663:2;9759:17;9746:31;9797:18;9789:6;9786:30;9783:2;;;-1:-1;;9819:12;9783:2;9849:62;9903:7;9894:6;9883:9;9879:22;9849:62;;9934:239;;10037:2;10025:9;10016:7;10012:23;10008:32;10005:2;;;-1:-1;;10043:12;10005:2;-1:-1;2661:20;;9999:174;-1:-1;9999:174;10534:385;;10667:2;10655:9;10646:7;10642:23;10638:32;10635:2;;;10683:1;10680;10673:12;10635:2;10731:17;10718:31;10769:18;;10761:6;10758:30;10755:2;;;10801:1;10798;10791:12;10755:2;10886:6;10875:9;10871:22;3780:4;3768:9;3763:3;3759:19;3755:30;3752:2;;;3798:1;3795;3788:12;3752:2;3816:20;3780:4;3816:20;;;3807:29;;7493:6;7480:20;3899:15;3892:74;10667:2;4043:9;4039:18;4026:32;4078:18;4070:6;4067:30;4064:2;;;4110:1;4107;4100:12;4064:2;4145:54;4195:3;4186:6;4175:9;4171:22;4145:54;;;10667:2;4131:5;4127:16;4120:80;;4288:2;4277:9;4273:18;4260:32;4312:18;4304:6;4301:30;4298:2;;;4344:1;4341;4334:12;4298:2;4379:55;4430:3;4421:6;4410:9;4406:22;4379:55;;;4288:2;4361:16;;4354:81;-1:-1;4365:5;;10629:290;-1:-1;;;;;10629:290;10926:385;;11059:2;11047:9;11038:7;11034:23;11030:32;11027:2;;;11075:1;11072;11065:12;11027:2;11123:17;11110:31;11161:18;;11153:6;11150:30;11147:2;;;11193:1;11190;11183:12;11147:2;11278:6;11267:9;11263:22;4619:4;4607:9;4602:3;4598:19;4594:30;4591:2;;;4637:1;4634;4627:12;4591:2;4655:20;4619:4;4655:20;;;4646:29;;4745:17;4732:31;4783:18;4775:6;4772:30;4769:2;;;4815:1;4812;4805:12;4769:2;4849:68;4913:3;4904:6;4893:9;4889:22;4849:68;;;4832:15;4825:93;;11059:2;5003:9;4999:18;4986:32;5038:18;5030:6;5027:30;5024:2;;;5070:1;5067;5060:12;5024:2;5105:55;5156:3;5147:6;5136:9;5132:22;5105:55;;;11059:2;5087:16;;5080:81;-1:-1;5091:5;;11021:290;-1:-1;;;;;11021:290;11318:373;;11445:2;11433:9;11424:7;11420:23;11416:32;11413:2;;;-1:-1;;11451:12;11413:2;11509:17;11496:31;11547:18;11539:6;11536:30;11533:2;;;-1:-1;;11569:12;11533:2;11599:76;11667:7;11658:6;11647:9;11643:22;11599:76;;11946:701;;;;12103:2;12091:9;12082:7;12078:23;12074:32;12071:2;;;12119:1;12116;12109:12;12071:2;7493:6;7480:20;12161:63;;12289:2;12278:9;12274:18;12261:32;12313:18;;12305:6;12302:30;12299:2;;;12345:1;12342;12335:12;12299:2;12365:62;12419:7;12410:6;12399:9;12395:22;12365:62;;;12355:72;;12492:2;12481:9;12477:18;12464:32;12450:46;;12516:18;12508:6;12505:30;12502:2;;;12548:1;12545;12538:12;12502:2;;12568:63;12623:7;12614:6;12603:9;12599:22;12568:63;;;12558:73;;;12065:582;;;;;;15443:343;;15585:5;33226:12;34312:6;34307:3;34300:19;15678:52;15723:6;34349:4;34344:3;34340:14;34349:4;15704:5;15700:16;15678:52;;;36638:2;36618:14;36634:7;36614:28;15742:39;;;;34349:4;15742:39;;15533:253;-1:-1;;15533:253;22246:1078;;22470:15;22464:22;22393:4;22506:13;22499:37;22551:67;22393:4;22388:3;22384:14;22599:12;22551:67;;;22708:4;;;35927:10;22708:4;22701:5;22697:16;22691:23;35916:22;22775:4;22770:3;22766:14;24752:36;22876:4;22869:5;22865:16;22859:23;22928:3;22922:4;22918:14;22876:4;22906:3;22902:14;22895:38;22948:109;13419:5;33226:12;34312:6;34307:3;34300:19;34349:4;34344:3;34340:14;13431:88;;22708:4;13584;13576:6;13572:17;34344:3;13563:27;;32911:4;13662:5;32902:14;-1:-1;13707:10;;13701:341;13726:6;13723:1;13720:13;13701:341;;;13778:20;34344:3;13782:4;13778:20;;13773:3;13766:33;12766:60;12822:3;13833:6;13827:13;12766:60;;;13748:1;13741:9;;;;;14021:14;;;;13847:82;-1:-1;34026:14;;13701:341;;;13705:14;23145:4;23138:5;23134:16;23128:23;23108:43;;23197:3;23191:4;23187:14;23145:4;23175:3;23171:14;23164:38;23217:69;23281:4;23267:12;23217:69;;;23308:11;22366:958;-1:-1;;;;;;;;;22366:958;24914:401;;15953:5;33226:12;16064:52;16109:6;16104:3;16097:4;16090:5;16086:16;16064:52;;;16128:16;;;;15235:37;;;-1:-1;16097:4;25278:12;;25067:248;-1:-1;25067:248;25322:213;35721:42;35710:54;;;;13153:37;;25440:2;25425:18;;25411:124;25542:437;;25748:2;;25737:9;25733:18;25788:20;25769:17;25762:47;25823:146;14406:5;33226:12;34312:6;34307:3;34300:19;34340:14;25737:9;34340:14;14418:112;;34340:14;14595:4;14587:6;14583:17;25737:9;14574:27;;14562:39;;32911:4;14691:5;32902:14;-1:-1;14730:387;14755:6;14752:1;14749:13;14730:387;;;14807:20;25737:9;14811:4;14807:20;;14802:3;14795:33;12980:88;13064:3;14862:6;14856:13;12980:88;;;14876:110;-1:-1;15096:14;;;;34026;;;;14777:1;14770:9;14730:387;;;-1:-1;25815:154;;25719:260;-1:-1;;;;;;;25719:260;25986:539;15235:37;;;36021:4;36010:16;;;;26345:2;26330:18;;24867:35;26428:2;26413:18;;15235:37;26511:2;26496:18;;15235:37;26184:3;26169:19;;26155:370;26532:691;;26762:2;26783:17;26776:47;26837:76;26762:2;26751:9;26747:18;26899:6;26837:76;;;26961:9;26955:4;26951:20;26946:2;26935:9;26931:18;26924:48;26986:76;27057:4;27048:6;26986:76;;;27110:9;27104:4;27100:20;27095:2;27084:9;27080:18;27073:48;27135:78;27208:4;27199:6;27135:78;;;27127:86;26733:490;-1:-1;;;;;;;26733:490;27230:293;;27364:2;27385:17;27378:47;27439:74;27364:2;27353:9;27349:18;27499:6;27439:74;;;27431:82;27335:188;-1:-1;;;27335:188;27530:407;27721:2;27735:47;;;17729:2;27706:18;;;34300:19;17765:66;34340:14;;;17745:87;17851:12;;;27692:245;27944:407;28135:2;28149:47;;;18102:2;28120:18;;;34300:19;18138:66;34340:14;;;18118:87;18224:12;;;28106:245;28358:381;;28536:2;28557:17;28550:47;19419:15;19413:22;19346:4;28536:2;28525:9;28521:18;19448:37;18539:15;18533:22;19337:14;28525:9;19337:14;15235:37;28536:2;18694:5;18690:16;18684:23;18468:4;18727:14;28525:9;18727:14;18720:38;18773:67;18459:14;28525:9;18459:14;18821:12;18773:67;;;18924:4;18917:5;18913:16;18907:23;18887:43;;18966:14;28525:9;18970:4;18966:14;;18950;28525:9;18950:14;18943:38;18996:69;19060:4;19046:12;18996:69;;;19087:11;;;;28536:2;19686:5;19682:16;19676:23;19735:14;;28525:9;19739:4;19735:14;;18924:4;28525:9;19719:14;19712:38;19765:67;19827:4;19813:12;19765:67;;;18924:4;19911:5;19907:16;19901:23;19881:43;;19960:14;28525:9;19964:4;19960:14;;18468:4;28525:9;19944:14;19937:38;19990:67;20052:4;20038:12;19990:67;;;19982:75;;;18468:4;20136:5;20132:16;20126:23;20106:43;;20185:14;28525:9;20189:4;20185:14;;19346:4;28525:9;20169:14;20162:38;;20215:69;20279:4;20265:12;20215:69;;;28603:126;28507:232;-1:-1;;;;;28507:232;28746:453;20750:22;;22067;15235:37;;28984:2;28969:18;;28955:244;29206:377;;29382:2;29403:17;29396:47;21267:15;21261:22;21188:4;29382:2;29371:9;29367:18;21296:37;21348:95;21179:14;29371:9;21179:14;21424:12;21348:95;;;29382:2;21528:5;21524:16;21518:23;21498:43;;21577:14;29371:9;21581:4;21577:14;;21188:4;29371:9;21561:14;21554:38;21607:69;21671:4;21657:12;21607:69;;29590:353;;29754:2;29775:17;29768:47;29829:104;29754:2;29743:9;29739:18;29919:6;29829:104;;29950:213;15235:37;;;30068:2;30053:18;;30039:124;30170:412;;15265:5;15242:3;15235:37;30336:2;30454;30443:9;30439:18;30432:48;30494:78;30336:2;30325:9;30321:18;30558:6;30494:78;;30589:256;30651:2;30645:9;30677:17;;;30752:18;30737:34;;30773:22;;;30734:62;30731:2;;;30809:1;;30799:12;30731:2;30651;30818:22;30629:216;;-1:-1;30629:216;36193:268;36258:1;36265:101;36279:6;36276:1;36273:13;36265:101;;;36346:11;;;36340:18;36327:11;;;36320:39;36301:2;36294:10;36265:101;;;36381:6;36378:1;36375:13;36372:2;;;36258:1;36437:6;36432:3;36428:16;36421:27;36372:2;;36242:219;;;;36655:117;35721:42;36742:5;35710:54;36717:5;36714:35;36704:2;;36763:1;;36753:12" } } }, @@ -614,9 +718,9 @@ } }, "sourceCodes": { - "AbiGenDummy.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma experimental ABIEncoderV2;\n\npragma solidity ^0.5.5;\n\n\ncontract AbiGenDummy\n{\n\n uint256 constant internal SOME_CONSTANT = 1234;\n string constant internal REVERT_REASON = \"REVERT_WITH_CONSTANT\";\n string constant internal REQUIRE_REASON = \"REQUIRE_WITH_CONSTANT\";\n\n function simplePureFunction ()\n public\n pure\n returns (uint256 result)\n {\n return 1;\n }\n\n function simplePureFunctionWithInput (uint256 x)\n public\n pure\n returns (uint256 sum)\n {\n return 1 + x;\n }\n\n function pureFunctionWithConstant ()\n public\n pure\n returns (uint256 someConstant)\n {\n return SOME_CONSTANT;\n }\n\n function simpleRevert ()\n public\n pure\n {\n revert(\"SIMPLE_REVERT\");\n }\n\n function revertWithConstant ()\n public\n pure\n {\n revert(REVERT_REASON);\n }\n\n function simpleRequire ()\n public\n pure\n {\n require(0 > 1, \"SIMPLE_REQUIRE\");\n }\n\n function requireWithConstant ()\n public\n pure\n {\n require(0 > 1, REQUIRE_REASON);\n }\n\n /// @dev test that devdocs will be generated and\n /// that multiline devdocs will look okay\n /// @param hash description of some hash. Let's make this line super long to demonstrate hanging indents for method params. It has to be more than one hundred twenty columns.\n /// @param v some v, recovery id\n /// @param r ECDSA r output\n /// @param s ECDSA s output\n /// @return the signerAddress that created this signature\n function ecrecoverFn(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n public\n pure\n returns (address signerAddress)\n {\n bytes memory prefix = \"\\x19Ethereum Signed Message:\\n32\";\n bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, hash));\n return ecrecover(prefixedHash, v, r, s);\n }\n\n event Withdrawal(address indexed _owner, uint _value);\n\n function withdraw(uint wad) public {\n emit Withdrawal(msg.sender, wad);\n }\n\n // test: generated code should normalize address inputs to lowercase\n // add extra inputs to make sure it works with address in any position\n function withAddressInput(address x, uint256 a, uint256 b, address y, uint256 c)\n public\n pure\n returns (address z)\n {\n return x;\n }\n\n event AnEvent(uint8 param);\n\n function acceptsBytes(bytes memory a) public pure {}\n\n /// @dev a method that accepts an array of bytes\n /// @param a the array of bytes being accepted\n function acceptsAnArrayOfBytes(bytes[] memory a) public pure {}\n\n struct Struct {\n bytes someBytes;\n uint32 anInteger;\n bytes[] aDynamicArrayOfBytes;\n string aString;\n }\n\n function structInput(Struct memory s) public pure {}\n\n /// @dev a method that returns a struct\n /// @return a Struct struct\n function structOutput() public pure returns(Struct memory s) {\n bytes[] memory byteArray = new bytes[](2);\n byteArray[0] = '0x123';\n byteArray[1] = '0x321';\n\n return Struct({\n someBytes: '0x123',\n anInteger: 5,\n aDynamicArrayOfBytes: byteArray,\n aString: \"abc\"\n });\n }\n\n struct NestedStruct {\n Struct innerStruct;\n string description;\n }\n\n function nestedStructInput(NestedStruct memory n) public pure {}\n function nestedStructOutput() public pure returns(NestedStruct memory) {}\n\n uint someState;\n function nonPureMethod() public returns(uint) { return someState += 1; }\n function nonPureMethodThatReturnsNothing() public { someState += 1; }\n\n // begin tests for `decodeTransactionData`, `decodeReturnData`\n\n /// @dev complex input is dynamic and more difficult to decode than simple input.\n struct ComplexInput {\n uint256 foo;\n bytes bar;\n string car;\n }\n\n /// @dev complex input is dynamic and more difficult to decode than simple input.\n struct ComplexOutput {\n ComplexInput input;\n bytes lorem;\n bytes ipsum;\n string dolor;\n }\n \n /// @dev Tests decoding when both input and output are empty.\n function noInputNoOutput()\n public\n pure\n {\n // NOP\n require(true == true);\n }\n\n /// @dev Tests decoding when input is empty and output is non-empty.\n function noInputSimpleOutput()\n public\n pure\n returns (uint256)\n {\n return 1991;\n }\n\n /// @dev Tests decoding when input is not empty but output is empty.\n function simpleInputNoOutput(uint256)\n public\n pure\n {\n // NOP\n require(true == true);\n }\n\n /// @dev Tests decoding when both input and output are non-empty.\n function simpleInputSimpleOutput(uint256)\n public\n pure\n returns (uint256)\n {\n return 1991;\n }\n\n /// @dev Tests decoding when the input and output are complex.\n function complexInputComplexOutput(ComplexInput memory complexInput)\n public\n pure\n returns (ComplexOutput memory)\n {\n return ComplexOutput({\n input: complexInput,\n lorem: hex'12345678',\n ipsum: hex'87654321',\n dolor: \"amet\"\n });\n }\n\n /// @dev Tests decoding when the input and output are complex and have more than one argument.\n function multiInputMultiOutput(\n uint256,\n bytes memory,\n string memory\n )\n public\n pure\n returns (\n bytes memory,\n bytes memory,\n string memory\n )\n {\n return (\n hex'12345678',\n hex'87654321',\n \"amet\"\n );\n }\n\n // end tests for `decodeTransactionData`, `decodeReturnData`\n}\n" + "AbiGenDummy.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma experimental ABIEncoderV2;\n\npragma solidity ^0.5.5;\n\n\ncontract AbiGenDummy\n{\n\n uint256 constant internal SOME_CONSTANT = 1234;\n string constant internal REVERT_REASON = \"REVERT_WITH_CONSTANT\";\n string constant internal REQUIRE_REASON = \"REQUIRE_WITH_CONSTANT\";\n\n function simplePureFunction ()\n public\n pure\n returns (uint256 result)\n {\n return 1;\n }\n\n function simplePureFunctionWithInput (uint256 x)\n public\n pure\n returns (uint256 sum)\n {\n return 1 + x;\n }\n\n function pureFunctionWithConstant ()\n public\n pure\n returns (uint256 someConstant)\n {\n return SOME_CONSTANT;\n }\n\n function simpleRevert ()\n public\n pure\n {\n revert(\"SIMPLE_REVERT\");\n }\n\n function revertWithConstant ()\n public\n pure\n {\n revert(REVERT_REASON);\n }\n\n function simpleRequire ()\n public\n pure\n {\n require(0 > 1, \"SIMPLE_REQUIRE\");\n }\n\n function requireWithConstant ()\n public\n pure\n {\n require(0 > 1, REQUIRE_REASON);\n }\n\n /// @dev test that devdocs will be generated and\n /// that multiline devdocs will look okay\n /// @param hash description of some hash. Let's make this line super long to demonstrate hanging indents for method params. It has to be more than one hundred twenty columns.\n /// @param v some v, recovery id\n /// @param r ECDSA r output\n /// @param s ECDSA s output\n /// @return the signerAddress that created this signature\n function ecrecoverFn(bytes32 hash, uint8 v, bytes32 r, bytes32 s)\n public\n pure\n returns (address signerAddress)\n {\n bytes memory prefix = \"\\x19Ethereum Signed Message:\\n32\";\n bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, hash));\n return ecrecover(prefixedHash, v, r, s);\n }\n\n event Withdrawal(address indexed _owner, uint _value);\n\n function withdraw(uint wad) public {\n emit Withdrawal(msg.sender, wad);\n }\n\n // test: generated code should normalize address inputs to lowercase\n // add extra inputs to make sure it works with address in any position\n function withAddressInput(address x, uint256 a, uint256 b, address y, uint256 c)\n public\n pure\n returns (address z)\n {\n return x;\n }\n\n event AnEvent(uint8 param);\n\n function acceptsBytes(bytes memory a) public pure {}\n\n /// @dev a method that accepts an array of bytes\n /// @param a the array of bytes being accepted\n function acceptsAnArrayOfBytes(bytes[] memory a) public pure {}\n\n struct Struct {\n bytes someBytes;\n uint32 anInteger;\n bytes[] aDynamicArrayOfBytes;\n string aString;\n }\n\n function structInput(Struct memory s) public pure {}\n\n /// @dev a method that returns a struct\n /// @return a Struct struct\n function structOutput() public pure returns(Struct memory s) {\n bytes[] memory byteArray = new bytes[](2);\n byteArray[0] = '0x123';\n byteArray[1] = '0x321';\n\n return Struct({\n someBytes: '0x123',\n anInteger: 5,\n aDynamicArrayOfBytes: byteArray,\n aString: \"abc\"\n });\n }\n\n function methodReturningArrayOfStructs() public pure returns(Struct[] memory) {}\n\n struct NestedStruct {\n Struct innerStruct;\n string description;\n }\n\n function nestedStructInput(NestedStruct memory n) public pure {}\n function nestedStructOutput() public pure returns(NestedStruct memory) {}\n\n struct StructNotDirectlyUsedAnywhere {\n uint256 aField;\n }\n\n struct NestedStructWithInnerStructNotUsedElsewhere {\n StructNotDirectlyUsedAnywhere innerStruct;\n }\n\n function methodUsingNestedStructWithInnerStructNotUsedElsewhere()\n public pure returns(NestedStructWithInnerStructNotUsedElsewhere memory)\n {}\n\n uint someState;\n function nonPureMethod() public returns(uint) { return someState += 1; }\n function nonPureMethodThatReturnsNothing() public { someState += 1; }\n\n function methodReturningMultipleValues()\n public pure returns (uint256, string memory)\n {\n return (1, \"hello\");\n }\n\n function overloadedMethod(int a) public pure {}\n function overloadedMethod(string memory a) public pure {}\n \n // begin tests for `decodeTransactionData`, `decodeReturnData`\n\n /// @dev complex input is dynamic and more difficult to decode than simple input.\n struct ComplexInput {\n uint256 foo;\n bytes bar;\n string car;\n }\n\n /// @dev complex input is dynamic and more difficult to decode than simple input.\n struct ComplexOutput {\n ComplexInput input;\n bytes lorem;\n bytes ipsum;\n string dolor;\n }\n \n /// @dev Tests decoding when both input and output are empty.\n function noInputNoOutput()\n public\n pure\n {\n // NOP\n require(true == true);\n }\n\n /// @dev Tests decoding when input is empty and output is non-empty.\n function noInputSimpleOutput()\n public\n pure\n returns (uint256)\n {\n return 1991;\n }\n\n /// @dev Tests decoding when input is not empty but output is empty.\n function simpleInputNoOutput(uint256)\n public\n pure\n {\n // NOP\n require(true == true);\n }\n\n /// @dev Tests decoding when both input and output are non-empty.\n function simpleInputSimpleOutput(uint256)\n public\n pure\n returns (uint256)\n {\n return 1991;\n }\n\n /// @dev Tests decoding when the input and output are complex.\n function complexInputComplexOutput(ComplexInput memory complexInput)\n public\n pure\n returns (ComplexOutput memory)\n {\n return ComplexOutput({\n input: complexInput,\n lorem: hex'12345678',\n ipsum: hex'87654321',\n dolor: \"amet\"\n });\n }\n\n /// @dev Tests decoding when the input and output are complex and have more than one argument.\n function multiInputMultiOutput(\n uint256,\n bytes memory,\n string memory\n )\n public\n pure\n returns (\n bytes memory,\n bytes memory,\n string memory\n )\n {\n return (\n hex'12345678',\n hex'87654321',\n \"amet\"\n );\n }\n\n // end tests for `decodeTransactionData`, `decodeReturnData`\n}\n" }, - "sourceTreeHashHex": "0x437ed443530f22fc9624b539dcbc3e88f2a3751cf9f8679cb52be7f9b9ef2bb8", + "sourceTreeHashHex": "0x83b4faf1de287d381981daf81b90628e9aede5c6265e90436c477c8bc9062991", "compiler": { "name": "solc", "version": "soljson-v0.5.10+commit.5a6ea5b1.js", diff --git a/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol b/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol index afb69fc77c..5b56bdfcce 100644 --- a/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol +++ b/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol @@ -145,6 +145,8 @@ contract AbiGenDummy }); } + function methodReturningArrayOfStructs() public pure returns(Struct[] memory) {} + struct NestedStruct { Struct innerStruct; string description; @@ -153,10 +155,31 @@ contract AbiGenDummy function nestedStructInput(NestedStruct memory n) public pure {} function nestedStructOutput() public pure returns(NestedStruct memory) {} + struct StructNotDirectlyUsedAnywhere { + uint256 aField; + } + + struct NestedStructWithInnerStructNotUsedElsewhere { + StructNotDirectlyUsedAnywhere innerStruct; + } + + function methodUsingNestedStructWithInnerStructNotUsedElsewhere() + public pure returns(NestedStructWithInnerStructNotUsedElsewhere memory) + {} + uint someState; function nonPureMethod() public returns(uint) { return someState += 1; } function nonPureMethodThatReturnsNothing() public { someState += 1; } + function methodReturningMultipleValues() + public pure returns (uint256, string memory) + { + return (1, "hello"); + } + + function overloadedMethod(int a) public pure {} + function overloadedMethod(string memory a) public pure {} + // begin tests for `decodeTransactionData`, `decodeReturnData` /// @dev complex input is dynamic and more difficult to decode than simple input. diff --git a/packages/python-contract-wrappers/package.json b/packages/python-contract-wrappers/package.json index 7773577725..be2ddcb6dc 100644 --- a/packages/python-contract-wrappers/package.json +++ b/packages/python-contract-wrappers/package.json @@ -13,7 +13,7 @@ "clean": "shx rm -rf generated" }, "config": { - "abis": "../contract-artifacts/artifacts/{Exchange,ERC20Token}.json" + "abis": "../contract-artifacts/artifacts/{AssetProxyOwner,Coordinator,CoordinatorRegistry,DummyERC20Token,DummyERC721Token,DutchAuction,ERC20Proxy,ERC20Token,ERC721Proxy,ERC721Token,EthBalanceChecker,Exchange,Forwarder,IAssetProxy,IValidator,IWallet,MultiAssetProxy,OrderValidator,WETH9,ZRXToken}.json" }, "repository": { "type": "git", diff --git a/python-packages/contract_wrappers/.pylintrc b/python-packages/contract_wrappers/.pylintrc index be7c8ed341..74fb21334a 100644 --- a/python-packages/contract_wrappers/.pylintrc +++ b/python-packages/contract_wrappers/.pylintrc @@ -1,3 +1,7 @@ [MESSAGES CONTROL] disable=C0330,line-too-long,fixme,too-few-public-methods,too-many-ancestors,duplicate-code # C0330 is "bad hanging indent". we use indents per `black`. + +[BASIC] +argument-rgx=[a-z_][a-z0-9_]{1,31}$ +# above differs from the default only in that it allows 2-character names diff --git a/python-packages/contract_wrappers/CHANGELOG.md b/python-packages/contract_wrappers/CHANGELOG.md index e2d8fc4e00..0a1552c385 100644 --- a/python-packages/contract_wrappers/CHANGELOG.md +++ b/python-packages/contract_wrappers/CHANGELOG.md @@ -3,6 +3,7 @@ ## 2.0.0 - TBD - Completely new implementation of the Exchange wrapper, virtually all auto-generated from the Solidity contract. Breaking changes include method parameter name changes and accepting of signatures as bytes. +- Introduction of wrappers for all 0x contracts. ## 1.0.0 - 2019-04-30 diff --git a/python-packages/contract_wrappers/setup.py b/python-packages/contract_wrappers/setup.py index cf50679cc7..838d932db8 100755 --- a/python-packages/contract_wrappers/setup.py +++ b/python-packages/contract_wrappers/setup.py @@ -15,7 +15,7 @@ from setuptools.command.test import test as TestCommand -BLACK_COMMAND = "black --line-length 79" +BLACK_COMMAND = "black --line-length 79 " class PreInstallCommand(distutils.command.build_py.build_py): @@ -26,42 +26,66 @@ class PreInstallCommand(distutils.command.build_py.build_py): def run(self): """Copy files from TS build area to local src, & `black` them.""" pkgdir = path.dirname(path.realpath(argv[0])) - copy( - path.join( - pkgdir, - "..", - "..", - "packages", - "python-contract-wrappers", - "generated", - "erc20_token", - "__init__.py", - ), - path.join( - pkgdir, "src", "zero_ex", "contract_wrappers", "erc20_token" - ), - ) - copy( - path.join( - pkgdir, - "..", - "..", - "packages", - "python-contract-wrappers", - "generated", - "exchange", - "__init__.py", - ), - path.join( - pkgdir, "src", "zero_ex", "contract_wrappers", "exchange" - ), - ) + contracts = [ + "asset_proxy_owner", + "coordinator", + "coordinator_registry", + "dummy_erc20_token", + "dummy_erc721_token", + "dutch_auction", + "erc20_proxy", + "erc20_token", + "erc721_proxy", + "erc721_token", + "eth_balance_checker", + "exchange", + "forwarder", + "i_asset_proxy", + "i_validator", + "i_wallet", + "multi_asset_proxy", + "order_validator", + "weth9", + "zrx_token", + ] + for contract in contracts: + copy( + path.join( + pkgdir, + "..", + "..", + "packages", + "python-contract-wrappers", + "generated", + contract, + "__init__.py", + ), + path.join( + pkgdir, "src", "zero_ex", "contract_wrappers", contract + ), + ) + copy( + path.join( + pkgdir, + "..", + "..", + "packages", + "python-contract-wrappers", + "generated", + contract, + "__init__.py", + ), + path.join( + pkgdir, "src", "zero_ex", "contract_wrappers", contract + ), + ) if find_spec("black") is None: subprocess.check_call("pip install black".split()) # nosec - black_command = ( - BLACK_COMMAND - + " src/zero_ex/contract_wrappers/erc20_token/__init__.py" - + " src/zero_ex/contract_wrappers/exchange/__init__.py" + black_command = BLACK_COMMAND + " ".join( + [ + f"src/zero_ex/contract_wrappers/{contract}/__init__.py" + for contract in contracts + ] ) print(f"Running command `{black_command}`...") subprocess.check_call(black_command.split()) # nosec diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/asset_proxy_owner/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/asset_proxy_owner/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator_registry/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/coordinator_registry/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc20_token/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc20_token/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc721_token/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dummy_erc721_token/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dutch_auction/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/dutch_auction/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc20_proxy/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc20_proxy/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_proxy/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_proxy/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_token/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/erc721_token/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/eth_balance_checker/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/eth_balance_checker/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/forwarder/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/forwarder/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_asset_proxy/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_asset_proxy/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_validator/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_validator/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_wallet/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/i_wallet/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/multi_asset_proxy/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/multi_asset_proxy/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/order_validator/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/order_validator/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/weth9/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/weth9/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/zrx_token/.gitkeep b/python-packages/contract_wrappers/src/zero_ex/contract_wrappers/zrx_token/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/yarn.lock b/yarn.lock index 327ad09752..625617025f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2137,6 +2137,11 @@ version "0.0.33" resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.0.33.tgz#1073c4bc824754ae3d10cfab88ab0237ba964e4d" +"@types/toposort@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/toposort/-/toposort-2.0.1.tgz#d950563ae45147fc28866fe66f3712e9b2a90f88" + integrity sha512-u9mzB6WehAYUw6RJLGO2IbxNpg1ec/ooBfLxjYCAsanETh5M3GVG8dijvwyGzXEdgdWxcIBKnOkeaLnZg+VO8g== + "@types/uglify-js@*": version "3.0.4" resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.0.4.tgz#96beae23df6f561862a830b4288a49e86baac082" @@ -8811,10 +8816,27 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -graceful-fs@4.1.15, graceful-fs@^3.0.0, graceful-fs@^4.0.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@~1.2.0: +graceful-fs@^3.0.0: + version "3.0.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" + integrity sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg= + dependencies: + natives "^1.1.0" + +graceful-fs@^4.0.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: version "4.1.15" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" +graceful-fs@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b" + integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg== + +graceful-fs@~1.2.0: + version "1.2.3" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" + integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q= + "graceful-readlink@>= 1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" @@ -12429,6 +12451,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" +natives@^1.1.0: + version "1.1.6" + resolved "https://registry.yarnpkg.com/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" + integrity sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -14807,6 +14834,8 @@ react-highlight@0xproject/react-highlight#react-peer-deps: dependencies: highlight.js "^9.11.0" highlightjs-solidity "^1.0.5" + react "^16.5.2" + react-dom "^16.5.2" react-hot-loader@^4.3.3: version "4.3.4" @@ -17595,6 +17624,11 @@ toposort@^1.0.0: version "1.0.7" resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029" +toposort@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" + integrity sha1-riF2gXXRVZ1IvvNUILL0li8JwzA= + touch@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"