From 792fe8eed6049f428c84be783e031ad5cbdb5bee Mon Sep 17 00:00:00 2001 From: xianny Date: Thu, 1 Aug 2019 20:06:46 -0700 Subject: [PATCH] incorporate suggestions for method comments; add devdoc to dummy contract --- .../partials/callAsync.handlebars | 4 +- .../abi-gen-templates/partials/tx.handlebars | 6 +- .../generated-wrappers/asset_proxy_owner.ts | 174 ++++++------ .../src/generated-wrappers/coordinator.ts | 38 +-- .../coordinator_registry.ts | 14 +- .../generated-wrappers/dummy_erc20_token.ts | 92 +++---- .../generated-wrappers/dummy_erc721_token.ts | 108 ++++---- .../src/generated-wrappers/dutch_auction.ts | 20 +- .../src/generated-wrappers/erc20_proxy.ts | 60 ++--- .../src/generated-wrappers/erc20_token.ts | 42 +-- .../src/generated-wrappers/erc721_proxy.ts | 60 ++--- .../src/generated-wrappers/erc721_token.ts | 66 ++--- .../generated-wrappers/eth_balance_checker.ts | 4 +- .../src/generated-wrappers/exchange.ts | 254 +++++++++--------- .../src/generated-wrappers/forwarder.ts | 44 +-- .../src/generated-wrappers/i_asset_proxy.ts | 58 ++-- .../src/generated-wrappers/i_validator.ts | 4 +- .../src/generated-wrappers/i_wallet.ts | 4 +- .../generated-wrappers/multi_asset_proxy.ts | 78 +++--- .../src/generated-wrappers/order_validator.ts | 28 +- .../src/generated-wrappers/weth9.ts | 74 ++--- .../src/generated-wrappers/zrx_token.ts | 54 ++-- .../python/abi_gen_dummy/__init__.py | 9 +- .../typescript/abi_gen_dummy.ts | 103 +++---- .../typescript/test_lib_dummy.ts | 8 +- .../fixtures/artifacts/AbiGenDummy.json | 26 +- .../fixtures/contracts/AbiGenDummy.sol | 7 + 27 files changed, 738 insertions(+), 701 deletions(-) diff --git a/packages/abi-gen-templates/partials/callAsync.handlebars b/packages/abi-gen-templates/partials/callAsync.handlebars index dfc9628342..0128bc22f4 100644 --- a/packages/abi-gen-templates/partials/callAsync.handlebars +++ b/packages/abi-gen-templates/partials/callAsync.handlebars @@ -1,5 +1,5 @@ /** - * Calls the method + * 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. {{> params_docstring inputs=inputs docstrings=devdoc.params}} {{#if devdoc.return}} * @returns {{devdoc.return}} @@ -43,7 +43,7 @@ async callAsync( }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). {{> params_docstring inputs=inputs docstrings=devdoc.params}} */ getABIEncodedTransactionData( diff --git a/packages/abi-gen-templates/partials/tx.handlebars b/packages/abi-gen-templates/partials/tx.handlebars index 983c477cb8..bdfa8cc794 100644 --- a/packages/abi-gen-templates/partials/tx.handlebars +++ b/packages/abi-gen-templates/partials/tx.handlebars @@ -1,6 +1,6 @@ public {{languageSpecificName}} = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. {{> params_docstring inputs=inputs docstrings=devdoc.params}} * @param txData Additional data for transaction * @returns The hash of the transaction @@ -34,7 +34,7 @@ public {{languageSpecificName}} = { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. {{> params_docstring inputs=inputs docstrings=devdoc.params}} * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -68,7 +68,7 @@ public {{languageSpecificName}} = { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. {{> params_docstring inputs=inputs docstrings=devdoc.params}} * @param txData Additional data for transaction * @returns The hash of the transaction diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/asset_proxy_owner.ts b/packages/abi-gen-wrappers/src/generated-wrappers/asset_proxy_owner.ts index 4225fceefd..5c62156660 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/asset_proxy_owner.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/asset_proxy_owner.ts @@ -119,7 +119,7 @@ export interface AssetProxyOwnerRequirementChangeEventArgs extends DecodedLogArg export class AssetProxyOwnerContract extends BaseContract { public owners = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -159,7 +159,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -173,7 +173,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public removeOwner = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param owner Address of owner. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -199,7 +199,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param owner Address of owner. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -227,7 +227,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param owner Address of owner. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -252,7 +252,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param owner Address of owner. */ async callAsync(owner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -289,7 +289,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param owner Address of owner. */ getABIEncodedTransactionData(owner: string): string { @@ -306,7 +306,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public revokeConfirmation = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -332,7 +332,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -360,7 +360,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -385,7 +385,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param transactionId Transaction ID. */ async callAsync( @@ -426,7 +426,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -440,7 +440,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public isOwner = { /** - * Calls the method + * 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( index_0: string, @@ -480,7 +480,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -491,7 +491,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public confirmations = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -536,7 +536,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber, index_1: string): string { assert.isBigNumber('index_0', index_0); @@ -554,7 +554,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public executeRemoveAuthorizedAddressAtIndex = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -582,7 +582,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -613,7 +613,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -640,7 +640,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param transactionId Transaction ID. */ async callAsync( @@ -683,7 +683,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -698,7 +698,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public secondsTimeLocked = { /** - * Calls the method + * 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, [ @@ -733,7 +733,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 AssetProxyOwnerContract; @@ -746,7 +746,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public getTransactionCount = { /** - * Calls the method + * 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. * @param pending Include pending transactions. * @param executed Include executed transactions. * @returns Total number of transactions after filters are applied. @@ -791,7 +791,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param pending Include pending transactions. * @param executed Include executed transactions. */ @@ -812,7 +812,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public registerAssetProxy = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param assetProxyContract Address of AssetProxy contract. * @param isRegistered Status of approval for AssetProxy contract. * @param txData Additional data for transaction @@ -847,7 +847,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param assetProxyContract Address of AssetProxy contract. * @param isRegistered Status of approval for AssetProxy contract. * @param txData Additional data for transaction @@ -882,7 +882,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param assetProxyContract Address of AssetProxy contract. * @param isRegistered Status of approval for AssetProxy contract. * @param txData Additional data for transaction @@ -916,7 +916,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param assetProxyContract Address of AssetProxy contract. * @param isRegistered Status of approval for AssetProxy contract. */ @@ -963,7 +963,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetProxyContract Address of AssetProxy contract. * @param isRegistered Status of approval for AssetProxy contract. */ @@ -983,7 +983,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public addOwner = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param owner Address of new owner. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1009,7 +1009,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param owner Address of new owner. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1037,7 +1037,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param owner Address of new owner. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1062,7 +1062,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param owner Address of new owner. */ async callAsync(owner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -1099,7 +1099,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param owner Address of new owner. */ getABIEncodedTransactionData(owner: string): string { @@ -1114,7 +1114,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public isConfirmed = { /** - * Calls the method + * 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. * @param transactionId Transaction ID. * @returns Confirmation status. */ @@ -1156,7 +1156,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -1171,7 +1171,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public changeTimeLock = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _secondsTimeLocked Duration needed after a transaction is confirmed and before it becomes executable, in seconds. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1200,7 +1200,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _secondsTimeLocked Duration needed after a transaction is confirmed and before it becomes executable, in seconds. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1228,7 +1228,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _secondsTimeLocked Duration needed after a transaction is confirmed and before it becomes executable, in seconds. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1253,7 +1253,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _secondsTimeLocked Duration needed after a transaction is confirmed and before it becomes executable, in seconds. */ async callAsync( @@ -1294,7 +1294,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _secondsTimeLocked Duration needed after a transaction is confirmed and before it becomes executable, in seconds. */ getABIEncodedTransactionData(_secondsTimeLocked: BigNumber): string { @@ -1308,7 +1308,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public isAssetProxyRegistered = { /** - * Calls the method + * 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( index_0: string, @@ -1348,7 +1348,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -1364,7 +1364,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public getConfirmationCount = { /** - * Calls the method + * 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. * @param transactionId Transaction ID. * @returns Number of confirmations. */ @@ -1406,7 +1406,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -1420,7 +1420,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public transactions = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -1460,7 +1460,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -1474,7 +1474,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public getOwners = { /** - * Calls the method + * 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. * @returns List of owner addresses. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -1510,7 +1510,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 AssetProxyOwnerContract; @@ -1523,7 +1523,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public getTransactionIds = { /** - * Calls the method + * 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. * @param from Index start position of transaction array. * @param to Index end position of transaction array. * @param pending Include pending transactions. @@ -1579,7 +1579,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param from Index start position of transaction array. * @param to Index end position of transaction array. * @param pending Include pending transactions. @@ -1603,7 +1603,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public getConfirmations = { /** - * Calls the method + * 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. * @param transactionId Transaction ID. * @returns Returns array of owner addresses. */ @@ -1645,7 +1645,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -1657,7 +1657,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public transactionCount = { /** - * Calls the method + * 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, [ @@ -1692,7 +1692,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 AssetProxyOwnerContract; @@ -1705,7 +1705,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public changeRequirement = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _required Number of required confirmations. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1731,7 +1731,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _required Number of required confirmations. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1759,7 +1759,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _required Number of required confirmations. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1784,7 +1784,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _required Number of required confirmations. */ async callAsync( @@ -1825,7 +1825,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _required Number of required confirmations. */ getABIEncodedTransactionData(_required: BigNumber): string { @@ -1840,7 +1840,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public confirmTransaction = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1866,7 +1866,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1894,7 +1894,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1919,7 +1919,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param transactionId Transaction ID. */ async callAsync( @@ -1960,7 +1960,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { @@ -1977,7 +1977,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public submitTransaction = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param destination Transaction target address. * @param value Transaction ether value. * @param data Transaction data payload. @@ -2016,7 +2016,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param destination Transaction target address. * @param value Transaction ether value. * @param data Transaction data payload. @@ -2055,7 +2055,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param destination Transaction target address. * @param value Transaction ether value. * @param data Transaction data payload. @@ -2093,7 +2093,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param destination Transaction target address. * @param value Transaction ether value. * @param data Transaction data payload. @@ -2145,7 +2145,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param destination Transaction target address. * @param value Transaction ether value. * @param data Transaction data payload. @@ -2165,7 +2165,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public confirmationTimes = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -2205,7 +2205,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -2216,7 +2216,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public MAX_OWNER_COUNT = { /** - * Calls the method + * 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, [ @@ -2251,7 +2251,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 AssetProxyOwnerContract; @@ -2261,7 +2261,7 @@ export class AssetProxyOwnerContract extends BaseContract { }; public required = { /** - * Calls the method + * 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, [ @@ -2296,7 +2296,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 AssetProxyOwnerContract; @@ -2309,7 +2309,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public replaceOwner = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param owner Address of owner to be replaced. * @param newOwner Address of new owner. * @param txData Additional data for transaction @@ -2344,7 +2344,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param owner Address of owner to be replaced. * @param newOwner Address of new owner. * @param txData Additional data for transaction @@ -2379,7 +2379,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param owner Address of owner to be replaced. * @param newOwner Address of new owner. * @param txData Additional data for transaction @@ -2409,7 +2409,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param owner Address of owner to be replaced. * @param newOwner Address of new owner. */ @@ -2456,7 +2456,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param owner Address of owner to be replaced. * @param newOwner Address of new owner. */ @@ -2476,7 +2476,7 @@ export class AssetProxyOwnerContract extends BaseContract { */ public executeTransaction = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -2502,7 +2502,7 @@ export class AssetProxyOwnerContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -2530,7 +2530,7 @@ export class AssetProxyOwnerContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param transactionId Transaction ID. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -2555,7 +2555,7 @@ export class AssetProxyOwnerContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param transactionId Transaction ID. */ async callAsync( @@ -2596,7 +2596,7 @@ export class AssetProxyOwnerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transactionId Transaction ID. */ getABIEncodedTransactionData(transactionId: BigNumber): string { diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/coordinator.ts b/packages/abi-gen-wrappers/src/generated-wrappers/coordinator.ts index e4da20d014..c7456e3000 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/coordinator.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/coordinator.ts @@ -32,7 +32,7 @@ export class CoordinatorContract extends BaseContract { */ public getSignerAddress = { /** - * Calls the method + * 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. * @param hash Any 32 byte hash. * @param signature Proof that the hash has been signed by signer. */ @@ -76,7 +76,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param hash Any 32 byte hash. * @param signature Proof that the hash has been signed by signer. */ @@ -96,7 +96,7 @@ export class CoordinatorContract extends BaseContract { */ public getTransactionHash = { /** - * Calls the method + * 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. * @param transaction 0x transaction containing salt, signerAddress, and data. * @returns EIP712 hash of the transaction with the domain separator of this contract. */ @@ -139,7 +139,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transaction 0x transaction containing salt, signerAddress, and data. */ getABIEncodedTransactionData(transaction: { salt: BigNumber; signerAddress: string; data: string }): string { @@ -156,7 +156,7 @@ export class CoordinatorContract extends BaseContract { */ public getCoordinatorApprovalHash = { /** - * Calls the method + * 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. * @param approval Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. * @returns EIP712 hash of the Coordinator approval message with the domain separator of this contract. */ @@ -205,7 +205,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param approval Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. */ getABIEncodedTransactionData(approval: { @@ -227,7 +227,7 @@ export class CoordinatorContract extends BaseContract { */ public executeTransaction = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -283,7 +283,7 @@ export class CoordinatorContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -329,7 +329,7 @@ export class CoordinatorContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -377,7 +377,7 @@ export class CoordinatorContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -440,7 +440,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -474,7 +474,7 @@ export class CoordinatorContract extends BaseContract { }; public EIP712_EXCHANGE_DOMAIN_HASH = { /** - * Calls the method + * 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, [ @@ -509,7 +509,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 CoordinatorContract; @@ -523,7 +523,7 @@ export class CoordinatorContract extends BaseContract { */ public assertValidCoordinatorApprovals = { /** - * Calls the method + * 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. * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -586,7 +586,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param transaction 0x transaction containing salt, signerAddress, and data. * @param txOrigin Required signer of Ethereum transaction calling this function. * @param transactionSignature Proof that the transaction has been signed by the signer. @@ -623,7 +623,7 @@ export class CoordinatorContract extends BaseContract { */ public decodeOrdersFromFillData = { /** - * Calls the method + * 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. * @param data Exchange calldata representing a fill method. * @returns The orders from the Exchange calldata. */ @@ -695,7 +695,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param data Exchange calldata representing a fill method. */ getABIEncodedTransactionData(data: string): string { @@ -707,7 +707,7 @@ export class CoordinatorContract extends BaseContract { }; public EIP712_COORDINATOR_DOMAIN_HASH = { /** - * Calls the method + * 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, [ @@ -742,7 +742,7 @@ export class CoordinatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 CoordinatorContract; diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/coordinator_registry.ts b/packages/abi-gen-wrappers/src/generated-wrappers/coordinator_registry.ts index 98bdea49fa..b8d82694c6 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/coordinator_registry.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/coordinator_registry.ts @@ -51,7 +51,7 @@ export class CoordinatorRegistryContract extends BaseContract { */ public setCoordinatorEndpoint = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param coordinatorEndpoint endpoint of the Coordinator. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -77,7 +77,7 @@ export class CoordinatorRegistryContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param coordinatorEndpoint endpoint of the Coordinator. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -105,7 +105,7 @@ export class CoordinatorRegistryContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param coordinatorEndpoint endpoint of the Coordinator. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -130,7 +130,7 @@ export class CoordinatorRegistryContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param coordinatorEndpoint endpoint of the Coordinator. */ async callAsync( @@ -171,7 +171,7 @@ export class CoordinatorRegistryContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param coordinatorEndpoint endpoint of the Coordinator. */ getABIEncodedTransactionData(coordinatorEndpoint: string): string { @@ -188,7 +188,7 @@ export class CoordinatorRegistryContract extends BaseContract { */ public getCoordinatorEndpoint = { /** - * Calls the method + * 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. * @param coordinatorOperator operator of the Coordinator endpoint. */ async callAsync( @@ -231,7 +231,7 @@ export class CoordinatorRegistryContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param coordinatorOperator operator of the Coordinator endpoint. */ getABIEncodedTransactionData(coordinatorOperator: string): string { diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc20_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc20_token.ts index 515bc055d8..a4e2cace78 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc20_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc20_token.ts @@ -56,7 +56,7 @@ export interface DummyERC20TokenApprovalEventArgs extends DecodedLogArgs { export class DummyERC20TokenContract extends BaseContract { public name = { /** - * Calls the method + * 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, [ @@ -91,7 +91,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; @@ -104,7 +104,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -139,7 +139,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -170,7 +170,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -204,7 +204,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @returns Always true if the call has enough gas to complete execution @@ -252,7 +252,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer */ @@ -272,7 +272,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public totalSupply = { /** - * Calls the method + * 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. * @returns Total supply of token */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -308,7 +308,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; @@ -321,7 +321,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -360,7 +360,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -399,7 +399,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -437,7 +437,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -489,7 +489,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -509,7 +509,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public decimals = { /** - * Calls the method + * 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, [ @@ -544,7 +544,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; @@ -557,7 +557,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public balanceOf = { /** - * Calls the method + * 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. * @param _owner The address from which the balance will be retrieved * @returns Balance of owner */ @@ -599,7 +599,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address from which the balance will be retrieved */ getABIEncodedTransactionData(_owner: string): string { @@ -611,7 +611,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -646,7 +646,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; @@ -656,7 +656,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public symbol = { /** - * Calls the method + * 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, [ @@ -691,7 +691,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; @@ -704,7 +704,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public mint = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _value Amount of tokens to mint * @param txData Additional data for transaction * @returns The hash of the transaction @@ -730,7 +730,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _value Amount of tokens to mint * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -758,7 +758,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _value Amount of tokens to mint * @param txData Additional data for transaction * @returns The hash of the transaction @@ -783,7 +783,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _value Amount of tokens to mint */ async callAsync(_value: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -820,7 +820,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _value Amount of tokens to mint */ getABIEncodedTransactionData(_value: BigNumber): string { @@ -835,7 +835,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public transfer = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -867,7 +867,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -898,7 +898,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -925,7 +925,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @returns True if transfer was successful @@ -970,7 +970,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _to The address of the recipient * @param _value The amount of token to be transferred */ @@ -987,7 +987,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public allowance = { /** - * Calls the method + * 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. * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens * @returns Amount of remaining tokens allowed to spent @@ -1035,7 +1035,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens */ @@ -1055,7 +1055,7 @@ export class DummyERC20TokenContract extends BaseContract { */ public setBalance = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _target Address or which balance will be updated * @param _value New balance of target address * @param txData Additional data for transaction @@ -1090,7 +1090,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _target Address or which balance will be updated * @param _value New balance of target address * @param txData Additional data for transaction @@ -1121,7 +1121,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _target Address or which balance will be updated * @param _value New balance of target address * @param txData Additional data for transaction @@ -1155,7 +1155,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _target Address or which balance will be updated * @param _value New balance of target address */ @@ -1202,7 +1202,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _target Address or which balance will be updated * @param _value New balance of target address */ @@ -1219,7 +1219,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1244,7 +1244,7 @@ export class DummyERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -1271,7 +1271,7 @@ export class DummyERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1295,7 +1295,7 @@ export class DummyERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -1331,7 +1331,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); @@ -1344,7 +1344,7 @@ export class DummyERC20TokenContract extends BaseContract { }; public MAX_MINT_AMOUNT = { /** - * Calls the method + * 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, [ @@ -1379,7 +1379,7 @@ export class DummyERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC20TokenContract; diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc721_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc721_token.ts index 2ad0a51305..19ac5457dc 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc721_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/dummy_erc721_token.ts @@ -66,7 +66,7 @@ export interface DummyERC721TokenApprovalForAllEventArgs extends DecodedLogArgs export class DummyERC721TokenContract extends BaseContract { public name = { /** - * Calls the method + * 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, [ @@ -101,7 +101,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC721TokenContract; @@ -114,7 +114,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public getApproved = { /** - * Calls the method + * 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. * @param _tokenId The NFT to find the approved address for * @returns The approved address for this NFT, or the zero address if there is none */ @@ -156,7 +156,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _tokenId The NFT to find the approved address for */ getABIEncodedTransactionData(_tokenId: BigNumber): string { @@ -173,7 +173,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -208,7 +208,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -239,7 +239,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -273,7 +273,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve */ @@ -320,7 +320,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve */ @@ -343,7 +343,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -382,7 +382,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -421,7 +421,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -459,7 +459,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -510,7 +510,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -534,7 +534,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public mint = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _to Address of the beneficiary that will own the minted token * @param _tokenId ID of the token to be minted by the msg.sender * @param txData Additional data for transaction @@ -566,7 +566,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _to Address of the beneficiary that will own the minted token * @param _tokenId ID of the token to be minted by the msg.sender * @param txData Additional data for transaction @@ -597,7 +597,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _to Address of the beneficiary that will own the minted token * @param _tokenId ID of the token to be minted by the msg.sender * @param txData Additional data for transaction @@ -628,7 +628,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _to Address of the beneficiary that will own the minted token * @param _tokenId ID of the token to be minted by the msg.sender */ @@ -672,7 +672,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _to Address of the beneficiary that will own the minted token * @param _tokenId ID of the token to be minted by the msg.sender */ @@ -693,7 +693,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public safeTransferFrom1 = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -732,7 +732,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -771,7 +771,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -809,7 +809,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -860,7 +860,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -884,7 +884,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public ownerOf = { /** - * Calls the method + * 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. * @param _tokenId The identifier for an NFT * @returns The address of the owner of the NFT */ @@ -926,7 +926,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _tokenId The identifier for an NFT */ getABIEncodedTransactionData(_tokenId: BigNumber): string { @@ -942,7 +942,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public balanceOf = { /** - * Calls the method + * 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. * @param _owner An address for whom to query the balance * @returns The number of NFTs owned by `_owner`, possibly zero */ @@ -984,7 +984,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner An address for whom to query the balance */ getABIEncodedTransactionData(_owner: string): string { @@ -996,7 +996,7 @@ export class DummyERC721TokenContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -1031,7 +1031,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC721TokenContract; @@ -1041,7 +1041,7 @@ export class DummyERC721TokenContract extends BaseContract { }; public symbol = { /** - * Calls the method + * 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, [ @@ -1076,7 +1076,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 DummyERC721TokenContract; @@ -1090,7 +1090,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public burn = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _owner Owner of token with given token ID * @param _tokenId ID of the token to be burned by the msg.sender * @param txData Additional data for transaction @@ -1122,7 +1122,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _owner Owner of token with given token ID * @param _tokenId ID of the token to be burned by the msg.sender * @param txData Additional data for transaction @@ -1153,7 +1153,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _owner Owner of token with given token ID * @param _tokenId ID of the token to be burned by the msg.sender * @param txData Additional data for transaction @@ -1184,7 +1184,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _owner Owner of token with given token ID * @param _tokenId ID of the token to be burned by the msg.sender */ @@ -1228,7 +1228,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner Owner of token with given token ID * @param _tokenId ID of the token to be burned by the msg.sender */ @@ -1249,7 +1249,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public setApprovalForAll = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -1284,7 +1284,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -1319,7 +1319,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -1353,7 +1353,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval */ @@ -1400,7 +1400,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval */ @@ -1426,7 +1426,7 @@ export class DummyERC721TokenContract extends BaseContract { */ public safeTransferFrom2 = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1475,7 +1475,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1518,7 +1518,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1560,7 +1560,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1615,7 +1615,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1636,7 +1636,7 @@ export class DummyERC721TokenContract extends BaseContract { }; public isApprovedForAll = { /** - * Calls the method + * 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. * @param _owner The address that owns the NFTs * @param _operator The address that acts on behalf of the owner * @returns True if `_operator` is an approved operator for `_owner`, false otherwise @@ -1684,7 +1684,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address that owns the NFTs * @param _operator The address that acts on behalf of the owner */ @@ -1701,7 +1701,7 @@ export class DummyERC721TokenContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1726,7 +1726,7 @@ export class DummyERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -1753,7 +1753,7 @@ export class DummyERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1777,7 +1777,7 @@ export class DummyERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -1813,7 +1813,7 @@ export class DummyERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/dutch_auction.ts b/packages/abi-gen-wrappers/src/generated-wrappers/dutch_auction.ts index 74f8d979e0..3700beb4e9 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/dutch_auction.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/dutch_auction.ts @@ -32,7 +32,7 @@ export class DutchAuctionContract extends BaseContract { */ public getAuctionDetails = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param order The sell order * @param txData Additional data for transaction * @returns The hash of the transaction @@ -76,7 +76,7 @@ export class DutchAuctionContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param order The sell order * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -116,7 +116,7 @@ export class DutchAuctionContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param order The sell order * @param txData Additional data for transaction * @returns The hash of the transaction @@ -159,7 +159,7 @@ export class DutchAuctionContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param order The sell order * @returns AuctionDetails */ @@ -232,7 +232,7 @@ export class DutchAuctionContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order The sell order */ getABIEncodedTransactionData(order: { @@ -276,7 +276,7 @@ export class DutchAuctionContract extends BaseContract { */ public matchOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param buyOrder The Buyer's order. This order is for the current expected price of the auction. * @param sellOrder The Seller's order. This order is for the lowest amount (at the end of the auction). * @param buySignature Proof that order was created by the buyer. @@ -341,7 +341,7 @@ export class DutchAuctionContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param buyOrder The Buyer's order. This order is for the current expected price of the auction. * @param sellOrder The Seller's order. This order is for the lowest amount (at the end of the auction). * @param buySignature Proof that order was created by the buyer. @@ -408,7 +408,7 @@ export class DutchAuctionContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param buyOrder The Buyer's order. This order is for the current expected price of the auction. * @param sellOrder The Seller's order. This order is for the lowest amount (at the end of the auction). * @param buySignature Proof that order was created by the buyer. @@ -472,7 +472,7 @@ export class DutchAuctionContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param buyOrder The Buyer's order. This order is for the current expected price of the auction. * @param sellOrder The Seller's order. This order is for the lowest amount (at the end of the auction). * @param buySignature Proof that order was created by the buyer. @@ -580,7 +580,7 @@ export class DutchAuctionContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param buyOrder The Buyer's order. This order is for the current expected price of the auction. * @param sellOrder The Seller's order. This order is for the lowest amount (at the end of the auction). * @param buySignature Proof that order was created by the buyer. diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_proxy.ts b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_proxy.ts index 97119ca0c8..c101bb11c9 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_proxy.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_proxy.ts @@ -59,7 +59,7 @@ export class ERC20ProxyContract extends BaseContract { */ public addAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -85,7 +85,7 @@ export class ERC20ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to authorize. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -113,7 +113,7 @@ export class ERC20ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -138,7 +138,7 @@ export class ERC20ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to authorize. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -175,7 +175,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to authorize. */ getABIEncodedTransactionData(target: string): string { @@ -189,7 +189,7 @@ export class ERC20ProxyContract extends BaseContract { }; public authorities = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -229,7 +229,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -243,7 +243,7 @@ export class ERC20ProxyContract extends BaseContract { */ public removeAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -269,7 +269,7 @@ export class ERC20ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -297,7 +297,7 @@ export class ERC20ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -322,7 +322,7 @@ export class ERC20ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -359,7 +359,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. */ getABIEncodedTransactionData(target: string): string { @@ -373,7 +373,7 @@ export class ERC20ProxyContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -408,7 +408,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC20ProxyContract; @@ -421,7 +421,7 @@ export class ERC20ProxyContract extends BaseContract { */ public removeAuthorizedAddressAtIndex = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -456,7 +456,7 @@ export class ERC20ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -491,7 +491,7 @@ export class ERC20ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -525,7 +525,7 @@ export class ERC20ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -572,7 +572,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -592,7 +592,7 @@ export class ERC20ProxyContract extends BaseContract { */ public getProxyId = { /** - * Calls the method + * 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. * @returns Proxy id. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -628,7 +628,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC20ProxyContract; @@ -638,7 +638,7 @@ export class ERC20ProxyContract extends BaseContract { }; public authorized = { /** - * Calls the method + * 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( index_0: string, @@ -678,7 +678,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -694,7 +694,7 @@ export class ERC20ProxyContract extends BaseContract { */ public getAuthorizedAddresses = { /** - * Calls the method + * 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. * @returns Array of authorized addresses. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -730,7 +730,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC20ProxyContract; @@ -740,7 +740,7 @@ export class ERC20ProxyContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -765,7 +765,7 @@ export class ERC20ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -792,7 +792,7 @@ export class ERC20ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -816,7 +816,7 @@ export class ERC20ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -852,7 +852,7 @@ export class ERC20ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts index 9bd4c8c803..4a83cde554 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts @@ -59,7 +59,7 @@ export class ERC20TokenContract extends BaseContract { */ public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -94,7 +94,7 @@ export class ERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -125,7 +125,7 @@ export class ERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @param txData Additional data for transaction @@ -159,7 +159,7 @@ export class ERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer * @returns Always true if the call has enough gas to complete execution @@ -207,7 +207,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _spender The address of the account able to transfer the tokens * @param _value The amount of wei to be approved for transfer */ @@ -227,7 +227,7 @@ export class ERC20TokenContract extends BaseContract { */ public totalSupply = { /** - * Calls the method + * 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. * @returns Total supply of token */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -263,7 +263,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC20TokenContract; @@ -276,7 +276,7 @@ export class ERC20TokenContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred @@ -315,7 +315,7 @@ export class ERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred @@ -354,7 +354,7 @@ export class ERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred @@ -392,7 +392,7 @@ export class ERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred @@ -444,7 +444,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred @@ -467,7 +467,7 @@ export class ERC20TokenContract extends BaseContract { */ public balanceOf = { /** - * Calls the method + * 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. * @param _owner The address from which the balance will be retrieved * @returns Balance of owner */ @@ -509,7 +509,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address from which the balance will be retrieved */ getABIEncodedTransactionData(_owner: string): string { @@ -524,7 +524,7 @@ export class ERC20TokenContract extends BaseContract { */ public transfer = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -556,7 +556,7 @@ export class ERC20TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -587,7 +587,7 @@ export class ERC20TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @param txData Additional data for transaction @@ -614,7 +614,7 @@ export class ERC20TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _to The address of the recipient * @param _value The amount of token to be transferred * @returns True if transfer was successful @@ -659,7 +659,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _to The address of the recipient * @param _value The amount of token to be transferred */ @@ -676,7 +676,7 @@ export class ERC20TokenContract extends BaseContract { }; public allowance = { /** - * Calls the method + * 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. * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens * @returns Amount of remaining tokens allowed to spent @@ -724,7 +724,7 @@ export class ERC20TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens */ diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_proxy.ts b/packages/abi-gen-wrappers/src/generated-wrappers/erc721_proxy.ts index 6f017926b9..e8c7fd923e 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_proxy.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/erc721_proxy.ts @@ -59,7 +59,7 @@ export class ERC721ProxyContract extends BaseContract { */ public addAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -85,7 +85,7 @@ export class ERC721ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to authorize. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -113,7 +113,7 @@ export class ERC721ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -138,7 +138,7 @@ export class ERC721ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to authorize. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -175,7 +175,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to authorize. */ getABIEncodedTransactionData(target: string): string { @@ -189,7 +189,7 @@ export class ERC721ProxyContract extends BaseContract { }; public authorities = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -229,7 +229,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -243,7 +243,7 @@ export class ERC721ProxyContract extends BaseContract { */ public removeAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -269,7 +269,7 @@ export class ERC721ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -297,7 +297,7 @@ export class ERC721ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -322,7 +322,7 @@ export class ERC721ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -359,7 +359,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. */ getABIEncodedTransactionData(target: string): string { @@ -373,7 +373,7 @@ export class ERC721ProxyContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -408,7 +408,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC721ProxyContract; @@ -421,7 +421,7 @@ export class ERC721ProxyContract extends BaseContract { */ public removeAuthorizedAddressAtIndex = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -456,7 +456,7 @@ export class ERC721ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -491,7 +491,7 @@ export class ERC721ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -525,7 +525,7 @@ export class ERC721ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -572,7 +572,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -592,7 +592,7 @@ export class ERC721ProxyContract extends BaseContract { */ public getProxyId = { /** - * Calls the method + * 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. * @returns Proxy id. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -628,7 +628,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC721ProxyContract; @@ -638,7 +638,7 @@ export class ERC721ProxyContract extends BaseContract { }; public authorized = { /** - * Calls the method + * 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( index_0: string, @@ -678,7 +678,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -694,7 +694,7 @@ export class ERC721ProxyContract extends BaseContract { */ public getAuthorizedAddresses = { /** - * Calls the method + * 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. * @returns Array of authorized addresses. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -730,7 +730,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ERC721ProxyContract; @@ -740,7 +740,7 @@ export class ERC721ProxyContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -765,7 +765,7 @@ export class ERC721ProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -792,7 +792,7 @@ export class ERC721ProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -816,7 +816,7 @@ export class ERC721ProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -852,7 +852,7 @@ export class ERC721ProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts index a8e55946eb..316081277d 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts @@ -69,7 +69,7 @@ export class ERC721TokenContract extends BaseContract { */ public getApproved = { /** - * Calls the method + * 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. * @param _tokenId The NFT to find the approved address for * @returns The approved address for this NFT, or the zero address if there is none */ @@ -111,7 +111,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _tokenId The NFT to find the approved address for */ getABIEncodedTransactionData(_tokenId: BigNumber): string { @@ -128,7 +128,7 @@ export class ERC721TokenContract extends BaseContract { */ public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -163,7 +163,7 @@ export class ERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -194,7 +194,7 @@ export class ERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve * @param txData Additional data for transaction @@ -228,7 +228,7 @@ export class ERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve */ @@ -275,7 +275,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _approved The new approved NFT controller * @param _tokenId The NFT to approve */ @@ -298,7 +298,7 @@ export class ERC721TokenContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -337,7 +337,7 @@ export class ERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -376,7 +376,7 @@ export class ERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -414,7 +414,7 @@ export class ERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -465,7 +465,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -489,7 +489,7 @@ export class ERC721TokenContract extends BaseContract { */ public safeTransferFrom1 = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -528,7 +528,7 @@ export class ERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -567,7 +567,7 @@ export class ERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -605,7 +605,7 @@ export class ERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -656,7 +656,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -680,7 +680,7 @@ export class ERC721TokenContract extends BaseContract { */ public ownerOf = { /** - * Calls the method + * 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. * @param _tokenId The identifier for an NFT * @returns The address of the owner of the NFT */ @@ -722,7 +722,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _tokenId The identifier for an NFT */ getABIEncodedTransactionData(_tokenId: BigNumber): string { @@ -738,7 +738,7 @@ export class ERC721TokenContract extends BaseContract { */ public balanceOf = { /** - * Calls the method + * 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. * @param _owner An address for whom to query the balance * @returns The number of NFTs owned by `_owner`, possibly zero */ @@ -780,7 +780,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner An address for whom to query the balance */ getABIEncodedTransactionData(_owner: string): string { @@ -796,7 +796,7 @@ export class ERC721TokenContract extends BaseContract { */ public setApprovalForAll = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -831,7 +831,7 @@ export class ERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -866,7 +866,7 @@ export class ERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval * @param txData Additional data for transaction @@ -900,7 +900,7 @@ export class ERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval */ @@ -947,7 +947,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _operator Address to add to the set of authorized operators * @param _approved True if the operator is approved, false to revoke approval */ @@ -973,7 +973,7 @@ export class ERC721TokenContract extends BaseContract { */ public safeTransferFrom2 = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1022,7 +1022,7 @@ export class ERC721TokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1065,7 +1065,7 @@ export class ERC721TokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1107,7 +1107,7 @@ export class ERC721TokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1162,7 +1162,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from The current owner of the NFT * @param _to The new owner * @param _tokenId The NFT to transfer @@ -1183,7 +1183,7 @@ export class ERC721TokenContract extends BaseContract { }; public isApprovedForAll = { /** - * Calls the method + * 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. * @param _owner The address that owns the NFTs * @param _operator The address that acts on behalf of the owner * @returns True if `_operator` is an approved operator for `_owner`, false otherwise @@ -1231,7 +1231,7 @@ export class ERC721TokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _owner The address that owns the NFTs * @param _operator The address that acts on behalf of the owner */ diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/eth_balance_checker.ts b/packages/abi-gen-wrappers/src/generated-wrappers/eth_balance_checker.ts index 00193faa58..a5dc01a6e2 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/eth_balance_checker.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/eth_balance_checker.ts @@ -32,7 +32,7 @@ export class EthBalanceCheckerContract extends BaseContract { */ public getEthBalances = { /** - * Calls the method + * 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. * @param addresses Array of addresses. * @returns Array of ETH balances. */ @@ -74,7 +74,7 @@ export class EthBalanceCheckerContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param addresses Array of addresses. */ getABIEncodedTransactionData(addresses: string[]): string { diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts b/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts index 6f43820f85..d35b9443a9 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts @@ -92,7 +92,7 @@ export interface ExchangeAssetProxyRegisteredEventArgs extends DecodedLogArgs { export class ExchangeContract extends BaseContract { public filled = { /** - * Calls the method + * 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( index_0: string, @@ -132,7 +132,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -146,7 +146,7 @@ export class ExchangeContract extends BaseContract { */ public batchFillOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -197,7 +197,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -249,7 +249,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -299,7 +299,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -375,7 +375,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -411,7 +411,7 @@ export class ExchangeContract extends BaseContract { }; public cancelled = { /** - * Calls the method + * 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( index_0: string, @@ -451,7 +451,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -466,7 +466,7 @@ export class ExchangeContract extends BaseContract { */ public preSign = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. * @param txData Additional data for transaction @@ -504,7 +504,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. * @param txData Additional data for transaction @@ -542,7 +542,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. * @param txData Additional data for transaction @@ -579,7 +579,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. */ @@ -629,7 +629,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. */ @@ -654,7 +654,7 @@ export class ExchangeContract extends BaseContract { */ public matchOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param leftOrder First order to match. * @param rightOrder Second order to match. * @param leftSignature Proof that order was created by the left maker. @@ -719,7 +719,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param leftOrder First order to match. * @param rightOrder Second order to match. * @param leftSignature Proof that order was created by the left maker. @@ -786,7 +786,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param leftOrder First order to match. * @param rightOrder Second order to match. * @param leftSignature Proof that order was created by the left maker. @@ -850,7 +850,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param leftOrder First order to match. * @param rightOrder Second order to match. * @param leftSignature Proof that order was created by the left maker. @@ -958,7 +958,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param leftOrder First order to match. * @param rightOrder Second order to match. * @param leftSignature Proof that order was created by the left maker. @@ -1012,7 +1012,7 @@ export class ExchangeContract extends BaseContract { */ public fillOrderNoThrow = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -1062,7 +1062,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -1113,7 +1113,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -1162,7 +1162,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -1237,7 +1237,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -1272,7 +1272,7 @@ export class ExchangeContract extends BaseContract { }; public assetProxies = { /** - * Calls the method + * 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(index_0: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('index_0', index_0); @@ -1308,7 +1308,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -1322,7 +1322,7 @@ export class ExchangeContract extends BaseContract { */ public batchCancelOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1367,7 +1367,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1408,7 +1408,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1452,7 +1452,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. */ async callAsync( @@ -1511,7 +1511,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. */ getABIEncodedTransactionData( @@ -1544,7 +1544,7 @@ export class ExchangeContract extends BaseContract { */ public batchFillOrKillOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -1595,7 +1595,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -1647,7 +1647,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -1697,7 +1697,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -1773,7 +1773,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -1813,7 +1813,7 @@ export class ExchangeContract extends BaseContract { */ public cancelOrdersUpTo = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param targetOrderEpoch Orders created with a salt less or equal to this value will be cancelled. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1839,7 +1839,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param targetOrderEpoch Orders created with a salt less or equal to this value will be cancelled. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -1867,7 +1867,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param targetOrderEpoch Orders created with a salt less or equal to this value will be cancelled. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -1892,7 +1892,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param targetOrderEpoch Orders created with a salt less or equal to this value will be cancelled. */ async callAsync( @@ -1933,7 +1933,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param targetOrderEpoch Orders created with a salt less or equal to this value will be cancelled. */ getABIEncodedTransactionData(targetOrderEpoch: BigNumber): string { @@ -1951,7 +1951,7 @@ export class ExchangeContract extends BaseContract { */ public batchFillOrdersNoThrow = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -2002,7 +2002,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -2054,7 +2054,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -2104,7 +2104,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -2180,7 +2180,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param takerAssetFillAmounts Array of desired amounts of takerAsset to sell in orders. * @param signatures Proofs that orders have been created by makers. @@ -2219,7 +2219,7 @@ export class ExchangeContract extends BaseContract { */ public getAssetProxy = { /** - * Calls the method + * 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. * @param assetProxyId Id of the asset proxy. * @returns The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. */ @@ -2261,7 +2261,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetProxyId Id of the asset proxy. */ getABIEncodedTransactionData(assetProxyId: string): string { @@ -2273,7 +2273,7 @@ export class ExchangeContract extends BaseContract { }; public transactions = { /** - * Calls the method + * 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( index_0: string, @@ -2313,7 +2313,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -2327,7 +2327,7 @@ export class ExchangeContract extends BaseContract { */ public fillOrKillOrder = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -2377,7 +2377,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -2428,7 +2428,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -2477,7 +2477,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -2551,7 +2551,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -2589,7 +2589,7 @@ export class ExchangeContract extends BaseContract { */ public setSignatureValidatorApproval = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param validatorAddress Address of Validator contract. * @param approval Approval or disapproval of Validator contract. * @param txData Additional data for transaction @@ -2628,7 +2628,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param validatorAddress Address of Validator contract. * @param approval Approval or disapproval of Validator contract. * @param txData Additional data for transaction @@ -2663,7 +2663,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param validatorAddress Address of Validator contract. * @param approval Approval or disapproval of Validator contract. * @param txData Additional data for transaction @@ -2697,7 +2697,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param validatorAddress Address of Validator contract. * @param approval Approval or disapproval of Validator contract. */ @@ -2744,7 +2744,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param validatorAddress Address of Validator contract. * @param approval Approval or disapproval of Validator contract. */ @@ -2761,7 +2761,7 @@ export class ExchangeContract extends BaseContract { }; public allowedValidators = { /** - * Calls the method + * 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( index_0: string, @@ -2806,7 +2806,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string, index_1: string): string { assert.isString('index_0', index_0); @@ -2824,7 +2824,7 @@ export class ExchangeContract extends BaseContract { */ public marketSellOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been created by makers. @@ -2875,7 +2875,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been created by makers. @@ -2927,7 +2927,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been created by makers. @@ -2977,7 +2977,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been created by makers. @@ -3053,7 +3053,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been created by makers. @@ -3092,7 +3092,7 @@ export class ExchangeContract extends BaseContract { */ public getOrdersInfo = { /** - * Calls the method + * 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. * @param orders Array of order specifications. * @returns Array of OrderInfo instances that correspond to each order. */ @@ -3154,7 +3154,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. */ getABIEncodedTransactionData( @@ -3184,7 +3184,7 @@ export class ExchangeContract extends BaseContract { }; public preSigned = { /** - * Calls the method + * 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( index_0: string, @@ -3229,7 +3229,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string, index_1: string): string { assert.isString('index_0', index_0); @@ -3244,7 +3244,7 @@ export class ExchangeContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -3279,7 +3279,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ExchangeContract; @@ -3292,7 +3292,7 @@ export class ExchangeContract extends BaseContract { */ public isValidSignature = { /** - * Calls the method + * 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. * @param hash Any 32 byte hash. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. @@ -3344,7 +3344,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param hash Any 32 byte hash. * @param signerAddress Address that should have signed the given hash. * @param signature Proof that the hash has been signed by signer. @@ -3368,7 +3368,7 @@ export class ExchangeContract extends BaseContract { */ public marketBuyOrdersNoThrow = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -3419,7 +3419,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -3471,7 +3471,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -3521,7 +3521,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -3597,7 +3597,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -3636,7 +3636,7 @@ export class ExchangeContract extends BaseContract { */ public fillOrder = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -3686,7 +3686,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -3732,7 +3732,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -3781,7 +3781,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -3856,7 +3856,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order Order struct containing order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signature Proof that order has been created by maker. @@ -3894,7 +3894,7 @@ export class ExchangeContract extends BaseContract { */ public executeTransaction = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param salt Arbitrary number to ensure uniqueness of transaction hash. * @param signerAddress Address of transaction signer. * @param data AbiV2 encoded calldata. @@ -3937,7 +3937,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param salt Arbitrary number to ensure uniqueness of transaction hash. * @param signerAddress Address of transaction signer. * @param data AbiV2 encoded calldata. @@ -3980,7 +3980,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param salt Arbitrary number to ensure uniqueness of transaction hash. * @param signerAddress Address of transaction signer. * @param data AbiV2 encoded calldata. @@ -4022,7 +4022,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param salt Arbitrary number to ensure uniqueness of transaction hash. * @param signerAddress Address of transaction signer. * @param data AbiV2 encoded calldata. @@ -4077,7 +4077,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param salt Arbitrary number to ensure uniqueness of transaction hash. * @param signerAddress Address of transaction signer. * @param data AbiV2 encoded calldata. @@ -4102,7 +4102,7 @@ export class ExchangeContract extends BaseContract { */ public registerAssetProxy = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -4128,7 +4128,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -4156,7 +4156,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -4181,7 +4181,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param assetProxy Address of new asset proxy to register. */ async callAsync( @@ -4222,7 +4222,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetProxy Address of new asset proxy to register. */ getABIEncodedTransactionData(assetProxy: string): string { @@ -4239,7 +4239,7 @@ export class ExchangeContract extends BaseContract { */ public getOrderInfo = { /** - * Calls the method + * 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. * @param order Order to gather information on. * @returns OrderInfo Information about the order and its state. See LibOrder.OrderInfo for a complete description. */ @@ -4302,7 +4302,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order Order to gather information on. */ getABIEncodedTransactionData(order: { @@ -4333,7 +4333,7 @@ export class ExchangeContract extends BaseContract { */ public cancelOrder = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param order Order to cancel. Order must be OrderStatus.FILLABLE. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -4377,7 +4377,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param order Order to cancel. Order must be OrderStatus.FILLABLE. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -4417,7 +4417,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param order Order to cancel. Order must be OrderStatus.FILLABLE. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -4460,7 +4460,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param order Order to cancel. Order must be OrderStatus.FILLABLE. */ async callAsync( @@ -4518,7 +4518,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param order Order to cancel. Order must be OrderStatus.FILLABLE. */ getABIEncodedTransactionData(order: { @@ -4545,7 +4545,7 @@ export class ExchangeContract extends BaseContract { }; public orderEpoch = { /** - * Calls the method + * 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( index_0: string, @@ -4590,7 +4590,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string, index_1: string): string { assert.isString('index_0', index_0); @@ -4605,7 +4605,7 @@ export class ExchangeContract extends BaseContract { }; public ZRX_ASSET_DATA = { /** - * Calls the method + * 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, [ @@ -4640,7 +4640,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ExchangeContract; @@ -4654,7 +4654,7 @@ export class ExchangeContract extends BaseContract { */ public marketSellOrdersNoThrow = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been signed by makers. @@ -4705,7 +4705,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been signed by makers. @@ -4757,7 +4757,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been signed by makers. @@ -4807,7 +4807,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been signed by makers. @@ -4883,7 +4883,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param takerAssetFillAmount Desired amount of takerAsset to sell. * @param signatures Proofs that orders have been signed by makers. @@ -4919,7 +4919,7 @@ export class ExchangeContract extends BaseContract { }; public EIP712_DOMAIN_HASH = { /** - * Calls the method + * 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, [ @@ -4954,7 +4954,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ExchangeContract; @@ -4967,7 +4967,7 @@ export class ExchangeContract extends BaseContract { */ public marketBuyOrders = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -5018,7 +5018,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -5070,7 +5070,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -5120,7 +5120,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -5196,7 +5196,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications. * @param makerAssetFillAmount Desired amount of makerAsset to buy. * @param signatures Proofs that orders have been signed by makers. @@ -5232,7 +5232,7 @@ export class ExchangeContract extends BaseContract { }; public currentContextAddress = { /** - * Calls the method + * 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, [ @@ -5267,7 +5267,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ExchangeContract; @@ -5277,7 +5277,7 @@ export class ExchangeContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -5302,7 +5302,7 @@ export class ExchangeContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -5329,7 +5329,7 @@ export class ExchangeContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -5353,7 +5353,7 @@ export class ExchangeContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -5389,7 +5389,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); @@ -5402,7 +5402,7 @@ export class ExchangeContract extends BaseContract { }; public VERSION = { /** - * Calls the method + * 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, [ @@ -5437,7 +5437,7 @@ export class ExchangeContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ExchangeContract; diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/forwarder.ts b/packages/abi-gen-wrappers/src/generated-wrappers/forwarder.ts index f7eb3a65b1..6bd3c8d218 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/forwarder.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/forwarder.ts @@ -34,7 +34,7 @@ export class ForwarderContract extends BaseContract { */ public marketBuyOrdersWithEth = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param makerAssetFillAmount Desired amount of makerAsset to purchase. * @param signatures Proofs that orders have been created by makers. @@ -127,7 +127,7 @@ export class ForwarderContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param makerAssetFillAmount Desired amount of makerAsset to purchase. * @param signatures Proofs that orders have been created by makers. @@ -208,7 +208,7 @@ export class ForwarderContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param makerAssetFillAmount Desired amount of makerAsset to purchase. * @param signatures Proofs that orders have been created by makers. @@ -291,7 +291,7 @@ export class ForwarderContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param makerAssetFillAmount Desired amount of makerAsset to purchase. * @param signatures Proofs that orders have been created by makers. @@ -420,7 +420,7 @@ export class ForwarderContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param makerAssetFillAmount Desired amount of makerAsset to purchase. * @param signatures Proofs that orders have been created by makers. @@ -494,7 +494,7 @@ export class ForwarderContract extends BaseContract { */ public withdrawAsset = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param assetData Byte array encoded for the respective asset proxy. * @param amount Amount of ERC20 token to withdraw. * @param txData Additional data for transaction @@ -526,7 +526,7 @@ export class ForwarderContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param assetData Byte array encoded for the respective asset proxy. * @param amount Amount of ERC20 token to withdraw. * @param txData Additional data for transaction @@ -557,7 +557,7 @@ export class ForwarderContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param assetData Byte array encoded for the respective asset proxy. * @param amount Amount of ERC20 token to withdraw. * @param txData Additional data for transaction @@ -588,7 +588,7 @@ export class ForwarderContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param assetData Byte array encoded for the respective asset proxy. * @param amount Amount of ERC20 token to withdraw. */ @@ -632,7 +632,7 @@ export class ForwarderContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetData Byte array encoded for the respective asset proxy. * @param amount Amount of ERC20 token to withdraw. */ @@ -649,7 +649,7 @@ export class ForwarderContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -684,7 +684,7 @@ export class ForwarderContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ForwarderContract; @@ -700,7 +700,7 @@ export class ForwarderContract extends BaseContract { */ public marketSellOrdersWithEth = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param signatures Proofs that orders have been created by makers. * @param feeOrders Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. @@ -781,7 +781,7 @@ export class ForwarderContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param signatures Proofs that orders have been created by makers. * @param feeOrders Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. @@ -858,7 +858,7 @@ export class ForwarderContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param signatures Proofs that orders have been created by makers. * @param feeOrders Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. @@ -930,7 +930,7 @@ export class ForwarderContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param signatures Proofs that orders have been created by makers. * @param feeOrders Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. @@ -1048,7 +1048,7 @@ export class ForwarderContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param orders Array of order specifications used containing desired makerAsset and WETH as takerAsset. * @param signatures Proofs that orders have been created by makers. * @param feeOrders Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. @@ -1106,7 +1106,7 @@ export class ForwarderContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1131,7 +1131,7 @@ export class ForwarderContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -1158,7 +1158,7 @@ export class ForwarderContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1182,7 +1182,7 @@ export class ForwarderContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -1218,7 +1218,7 @@ export class ForwarderContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/i_asset_proxy.ts b/packages/abi-gen-wrappers/src/generated-wrappers/i_asset_proxy.ts index 1aa0f621c0..f9a96ba0de 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/i_asset_proxy.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/i_asset_proxy.ts @@ -32,7 +32,7 @@ export class IAssetProxyContract extends BaseContract { */ public addAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -58,7 +58,7 @@ export class IAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to authorize. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -86,7 +86,7 @@ export class IAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -111,7 +111,7 @@ export class IAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to authorize. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -148,7 +148,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to authorize. */ getABIEncodedTransactionData(target: string): string { @@ -165,7 +165,7 @@ export class IAssetProxyContract extends BaseContract { */ public removeAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -191,7 +191,7 @@ export class IAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -219,7 +219,7 @@ export class IAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -244,7 +244,7 @@ export class IAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -281,7 +281,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. */ getABIEncodedTransactionData(target: string): string { @@ -298,7 +298,7 @@ export class IAssetProxyContract extends BaseContract { */ public removeAuthorizedAddressAtIndex = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -333,7 +333,7 @@ export class IAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -368,7 +368,7 @@ export class IAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -402,7 +402,7 @@ export class IAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -449,7 +449,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -469,7 +469,7 @@ export class IAssetProxyContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param assetData Byte array encoded for the respective asset proxy. * @param from Address to transfer asset from. * @param to Address to transfer asset to. @@ -512,7 +512,7 @@ export class IAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param assetData Byte array encoded for the respective asset proxy. * @param from Address to transfer asset from. * @param to Address to transfer asset to. @@ -555,7 +555,7 @@ export class IAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param assetData Byte array encoded for the respective asset proxy. * @param from Address to transfer asset from. * @param to Address to transfer asset to. @@ -597,7 +597,7 @@ export class IAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param assetData Byte array encoded for the respective asset proxy. * @param from Address to transfer asset from. * @param to Address to transfer asset to. @@ -652,7 +652,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetData Byte array encoded for the respective asset proxy. * @param from Address to transfer asset from. * @param to Address to transfer asset to. @@ -676,7 +676,7 @@ export class IAssetProxyContract extends BaseContract { */ public getProxyId = { /** - * Calls the method + * 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. * @returns Proxy id. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -712,7 +712,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 IAssetProxyContract; @@ -725,7 +725,7 @@ export class IAssetProxyContract extends BaseContract { */ public getAuthorizedAddresses = { /** - * Calls the method + * 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. * @returns Array of authorized addresses. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -761,7 +761,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 IAssetProxyContract; @@ -771,7 +771,7 @@ export class IAssetProxyContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -796,7 +796,7 @@ export class IAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -823,7 +823,7 @@ export class IAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -847,7 +847,7 @@ export class IAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -883,7 +883,7 @@ export class IAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts b/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts index be60c1378a..f3e1440f45 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts @@ -32,7 +32,7 @@ export class IValidatorContract extends BaseContract { */ public isValidSignature = { /** - * Calls the method + * 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. * @param hash Message hash that is signed. * @param signerAddress Address that should have signed the given hash. * @param signature Proof of signing. @@ -84,7 +84,7 @@ export class IValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param hash Message hash that is signed. * @param signerAddress Address that should have signed the given hash. * @param signature Proof of signing. diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts b/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts index d1fc3446b4..2f6c67f90c 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts @@ -32,7 +32,7 @@ export class IWalletContract extends BaseContract { */ public isValidSignature = { /** - * Calls the method + * 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. * @param hash Message hash that is signed. * @param signature Proof of signing. * @returns Validity of order signature. @@ -77,7 +77,7 @@ export class IWalletContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param hash Message hash that is signed. * @param signature Proof of signing. */ diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/multi_asset_proxy.ts b/packages/abi-gen-wrappers/src/generated-wrappers/multi_asset_proxy.ts index 9fff218257..46dac8e130 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/multi_asset_proxy.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/multi_asset_proxy.ts @@ -63,7 +63,7 @@ export interface MultiAssetProxyAssetProxyRegisteredEventArgs extends DecodedLog export class MultiAssetProxyContract extends BaseContract { public assetProxies = { /** - * Calls the method + * 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(index_0: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('index_0', index_0); @@ -99,7 +99,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -113,7 +113,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public addAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -139,7 +139,7 @@ export class MultiAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to authorize. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -167,7 +167,7 @@ export class MultiAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to authorize. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -192,7 +192,7 @@ export class MultiAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to authorize. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -229,7 +229,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to authorize. */ getABIEncodedTransactionData(target: string): string { @@ -243,7 +243,7 @@ export class MultiAssetProxyContract extends BaseContract { }; public authorities = { /** - * Calls the method + * 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( index_0: BigNumber, @@ -283,7 +283,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: BigNumber): string { assert.isBigNumber('index_0', index_0); @@ -297,7 +297,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public getAssetProxy = { /** - * Calls the method + * 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. * @param assetProxyId Id of the asset proxy. * @returns The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. */ @@ -339,7 +339,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetProxyId Id of the asset proxy. */ getABIEncodedTransactionData(assetProxyId: string): string { @@ -354,7 +354,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public removeAuthorizedAddress = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -380,7 +380,7 @@ export class MultiAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -408,7 +408,7 @@ export class MultiAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -433,7 +433,7 @@ export class MultiAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. */ async callAsync(target: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -470,7 +470,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. */ getABIEncodedTransactionData(target: string): string { @@ -484,7 +484,7 @@ export class MultiAssetProxyContract extends BaseContract { }; public owner = { /** - * Calls the method + * 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, [ @@ -519,7 +519,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 MultiAssetProxyContract; @@ -532,7 +532,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public removeAuthorizedAddressAtIndex = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -567,7 +567,7 @@ export class MultiAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -602,7 +602,7 @@ export class MultiAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param target Address to remove authorization from. * @param index Index of target in authorities array. * @param txData Additional data for transaction @@ -636,7 +636,7 @@ export class MultiAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -683,7 +683,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param target Address to remove authorization from. * @param index Index of target in authorities array. */ @@ -703,7 +703,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public getProxyId = { /** - * Calls the method + * 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. * @returns Proxy id. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -739,7 +739,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 MultiAssetProxyContract; @@ -749,7 +749,7 @@ export class MultiAssetProxyContract extends BaseContract { }; public authorized = { /** - * Calls the method + * 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( index_0: string, @@ -789,7 +789,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -806,7 +806,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public registerAssetProxy = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -832,7 +832,7 @@ export class MultiAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success @@ -860,7 +860,7 @@ export class MultiAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param assetProxy Address of new asset proxy to register. * @param txData Additional data for transaction * @returns The hash of the transaction @@ -885,7 +885,7 @@ export class MultiAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param assetProxy Address of new asset proxy to register. */ async callAsync( @@ -926,7 +926,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param assetProxy Address of new asset proxy to register. */ getABIEncodedTransactionData(assetProxy: string): string { @@ -943,7 +943,7 @@ export class MultiAssetProxyContract extends BaseContract { */ public getAuthorizedAddresses = { /** - * Calls the method + * 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. * @returns Array of authorized addresses. */ async callAsync(callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -979,7 +979,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 MultiAssetProxyContract; @@ -989,7 +989,7 @@ export class MultiAssetProxyContract extends BaseContract { }; public transferOwnership = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1014,7 +1014,7 @@ export class MultiAssetProxyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -1041,7 +1041,7 @@ export class MultiAssetProxyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -1065,7 +1065,7 @@ export class MultiAssetProxyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(newOwner: string, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isString('newOwner', newOwner); @@ -1101,7 +1101,7 @@ export class MultiAssetProxyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(newOwner: string): string { assert.isString('newOwner', newOwner); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/order_validator.ts b/packages/abi-gen-wrappers/src/generated-wrappers/order_validator.ts index b5fbe80152..08f453e6a4 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/order_validator.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/order_validator.ts @@ -29,7 +29,7 @@ import * as ethers from 'ethers'; export class OrderValidatorContract extends BaseContract { public getOrderAndTraderInfo = { /** - * Calls the method + * 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( order: { @@ -116,7 +116,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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( order: { @@ -146,7 +146,7 @@ export class OrderValidatorContract extends BaseContract { }; public getBalanceAndAllowance = { /** - * Calls the method + * 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( target: string, @@ -191,7 +191,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(target: string, assetData: string): string { assert.isString('target', target); @@ -206,7 +206,7 @@ export class OrderValidatorContract extends BaseContract { }; public getOrdersAndTradersInfo = { /** - * Calls the method + * 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( orders: Array<{ @@ -294,7 +294,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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( orders: Array<{ @@ -325,7 +325,7 @@ export class OrderValidatorContract extends BaseContract { }; public getTradersInfo = { /** - * Calls the method + * 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( orders: Array<{ @@ -407,7 +407,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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( orders: Array<{ @@ -438,7 +438,7 @@ export class OrderValidatorContract extends BaseContract { }; public getERC721TokenOwner = { /** - * Calls the method + * 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( token: string, @@ -483,7 +483,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(token: string, tokenId: BigNumber): string { assert.isString('token', token); @@ -498,7 +498,7 @@ export class OrderValidatorContract extends BaseContract { }; public getBalancesAndAllowances = { /** - * Calls the method + * 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( target: string, @@ -543,7 +543,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(target: string, assetData: string[]): string { assert.isString('target', target); @@ -558,7 +558,7 @@ export class OrderValidatorContract extends BaseContract { }; public getTraderInfo = { /** - * Calls the method + * 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( order: { @@ -635,7 +635,7 @@ export class OrderValidatorContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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( order: { diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts b/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts index 6c1f9f0d00..4ea489bf2c 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts @@ -72,7 +72,7 @@ export interface WETH9WithdrawalEventArgs extends DecodedLogArgs { export class WETH9Contract extends BaseContract { public name = { /** - * Calls the method + * 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, [ @@ -107,7 +107,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 WETH9Contract; @@ -117,7 +117,7 @@ export class WETH9Contract extends BaseContract { }; public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -143,7 +143,7 @@ export class WETH9Contract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -172,7 +172,7 @@ export class WETH9Contract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -197,7 +197,7 @@ export class WETH9Contract extends BaseContract { return gas; }, /** - * Calls the method + * 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( guy: string, @@ -239,7 +239,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(guy: string, wad: BigNumber): string { assert.isString('guy', guy); @@ -254,7 +254,7 @@ export class WETH9Contract extends BaseContract { }; public totalSupply = { /** - * Calls the method + * 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, [ @@ -289,7 +289,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 WETH9Contract; @@ -299,7 +299,7 @@ export class WETH9Contract extends BaseContract { }; public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -335,7 +335,7 @@ export class WETH9Contract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -371,7 +371,7 @@ export class WETH9Contract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -406,7 +406,7 @@ export class WETH9Contract extends BaseContract { return gas; }, /** - * Calls the method + * 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( src: string, @@ -454,7 +454,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(src: string, dst: string, wad: BigNumber): string { assert.isString('src', src); @@ -471,7 +471,7 @@ export class WETH9Contract extends BaseContract { }; public withdraw = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -496,7 +496,7 @@ export class WETH9Contract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -523,7 +523,7 @@ export class WETH9Contract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -547,7 +547,7 @@ export class WETH9Contract extends BaseContract { return gas; }, /** - * Calls the method + * 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(wad: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isBigNumber('wad', wad); @@ -583,7 +583,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(wad: BigNumber): string { assert.isBigNumber('wad', wad); @@ -594,7 +594,7 @@ export class WETH9Contract extends BaseContract { }; public decimals = { /** - * Calls the method + * 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, [ @@ -629,7 +629,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 WETH9Contract; @@ -639,7 +639,7 @@ export class WETH9Contract extends BaseContract { }; public balanceOf = { /** - * Calls the method + * 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( index_0: string, @@ -679,7 +679,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string): string { assert.isString('index_0', index_0); @@ -692,7 +692,7 @@ export class WETH9Contract extends BaseContract { }; public symbol = { /** - * Calls the method + * 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, [ @@ -727,7 +727,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 WETH9Contract; @@ -737,7 +737,7 @@ export class WETH9Contract extends BaseContract { }; public transfer = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -763,7 +763,7 @@ export class WETH9Contract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -792,7 +792,7 @@ export class WETH9Contract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -817,7 +817,7 @@ export class WETH9Contract extends BaseContract { return gas; }, /** - * Calls the method + * 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( dst: string, @@ -859,7 +859,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(dst: string, wad: BigNumber): string { assert.isString('dst', dst); @@ -874,7 +874,7 @@ export class WETH9Contract extends BaseContract { }; public deposit = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -898,7 +898,7 @@ export class WETH9Contract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -923,7 +923,7 @@ export class WETH9Contract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -946,7 +946,7 @@ export class WETH9Contract extends BaseContract { return gas; }, /** - * Calls the method + * 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, [ @@ -981,7 +981,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 WETH9Contract; @@ -991,7 +991,7 @@ export class WETH9Contract extends BaseContract { }; public allowance = { /** - * Calls the method + * 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( index_0: string, @@ -1036,7 +1036,7 @@ export class WETH9Contract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(index_0: string, index_1: string): string { assert.isString('index_0', index_0); diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts index 54310ec70c..dcf32821b6 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts @@ -56,7 +56,7 @@ export interface ZRXTokenApprovalEventArgs extends DecodedLogArgs { export class ZRXTokenContract extends BaseContract { public name = { /** - * Calls the method + * 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, [ @@ -91,7 +91,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ZRXTokenContract; @@ -101,7 +101,7 @@ export class ZRXTokenContract extends BaseContract { }; public approve = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -134,7 +134,7 @@ export class ZRXTokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -163,7 +163,7 @@ export class ZRXTokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -195,7 +195,7 @@ export class ZRXTokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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( _spender: string, @@ -240,7 +240,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(_spender: string, _value: BigNumber): string { assert.isString('_spender', _spender); @@ -255,7 +255,7 @@ export class ZRXTokenContract extends BaseContract { }; public totalSupply = { /** - * Calls the method + * 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, [ @@ -290,7 +290,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ZRXTokenContract; @@ -303,7 +303,7 @@ export class ZRXTokenContract extends BaseContract { */ public transferFrom = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -342,7 +342,7 @@ export class ZRXTokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -381,7 +381,7 @@ export class ZRXTokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -419,7 +419,7 @@ export class ZRXTokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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. * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -471,7 +471,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param _from Address to transfer from. * @param _to Address to transfer to. * @param _value Amount to transfer. @@ -491,7 +491,7 @@ export class ZRXTokenContract extends BaseContract { }; public decimals = { /** - * Calls the method + * 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, [ @@ -526,7 +526,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ZRXTokenContract; @@ -536,7 +536,7 @@ export class ZRXTokenContract extends BaseContract { }; public balanceOf = { /** - * Calls the method + * 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( _owner: string, @@ -576,7 +576,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(_owner: string): string { assert.isString('_owner', _owner); @@ -587,7 +587,7 @@ export class ZRXTokenContract extends BaseContract { }; public symbol = { /** - * Calls the method + * 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, [ @@ -622,7 +622,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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 ZRXTokenContract; @@ -632,7 +632,7 @@ export class ZRXTokenContract extends BaseContract { }; public transfer = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -662,7 +662,7 @@ export class ZRXTokenContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -691,7 +691,7 @@ export class ZRXTokenContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -716,7 +716,7 @@ export class ZRXTokenContract extends BaseContract { return gas; }, /** - * Calls the method + * 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( _to: string, @@ -758,7 +758,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(_to: string, _value: BigNumber): string { assert.isString('_to', _to); @@ -773,7 +773,7 @@ export class ZRXTokenContract extends BaseContract { }; public allowance = { /** - * Calls the method + * 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( _owner: string, @@ -818,7 +818,7 @@ export class ZRXTokenContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(_owner: string, _spender: string): string { assert.isString('_owner', _owner); 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 0b33e533be..99cd79e781 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 @@ -240,8 +240,15 @@ def ecrecover_fn( ) -> str: """Execute underlying, same-named contract method. - :param tx_params: transaction parameters + test that devdocs will be generated and that multiline devdocs will + look okay + :param hash: description of some hash + :param r: ECDSA r output + :param s: ECDSA s output + :param v: some v, recovery id + :param tx_params: transaction parameters + :returns: the signerAddress that created this signature """ self.validator.assert_valid( method_name='ecrecoverFn', 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 2636f78b51..6e48355ae0 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 @@ -53,7 +53,7 @@ export interface AbiGenDummyAnEventEventArgs extends DecodedLogArgs { export class AbiGenDummyContract extends BaseContract { public simpleRequire = { /** - * Calls the method + * 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, [ @@ -88,7 +88,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -101,7 +101,7 @@ export class AbiGenDummyContract extends BaseContract { */ public acceptsAnArrayOfBytes = { /** - * Calls the method + * 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. * @param a the array of bytes being accepted */ async callAsync(a: string[], callData: Partial = {}, defaultBlock?: BlockParam): Promise { @@ -138,7 +138,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). * @param a the array of bytes being accepted */ getABIEncodedTransactionData(a: string[]): string { @@ -150,7 +150,7 @@ export class AbiGenDummyContract extends BaseContract { }; public withdraw = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -175,7 +175,7 @@ export class AbiGenDummyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -202,7 +202,7 @@ export class AbiGenDummyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -226,7 +226,7 @@ export class AbiGenDummyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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(wad: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isBigNumber('wad', wad); @@ -262,7 +262,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(wad: BigNumber): string { assert.isBigNumber('wad', wad); @@ -271,9 +271,18 @@ export class AbiGenDummyContract extends BaseContract { return abiEncodedTransactionData; }, }; + /** + * test that devdocs will be generated and + * that multiline devdocs will look okay + */ public ecrecoverFn = { /** - * Calls the method + * 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. + * @param hash description of some hash + * @param v some v, recovery id + * @param r ECDSA r output + * @param s ECDSA s output + * @returns the signerAddress that created this signature */ async callAsync( hash: string, @@ -324,7 +333,11 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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). + * @param hash description of some hash + * @param v some v, recovery id + * @param r ECDSA r output + * @param s ECDSA s output */ getABIEncodedTransactionData(hash: string, v: number | BigNumber, r: string, s: string): string { assert.isString('hash', hash); @@ -341,7 +354,7 @@ export class AbiGenDummyContract extends BaseContract { }; public acceptsBytes = { /** - * Calls the method + * 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); @@ -377,7 +390,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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); @@ -388,7 +401,7 @@ export class AbiGenDummyContract extends BaseContract { }; public revertWithConstant = { /** - * Calls the method + * 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, [ @@ -423,7 +436,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -433,7 +446,7 @@ export class AbiGenDummyContract extends BaseContract { }; public simpleRevert = { /** - * Calls the method + * 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, [ @@ -468,7 +481,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -478,7 +491,7 @@ export class AbiGenDummyContract extends BaseContract { }; public nestedStructOutput = { /** - * Calls the method + * 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 = {}, @@ -522,7 +535,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -532,7 +545,7 @@ export class AbiGenDummyContract extends BaseContract { }; public requireWithConstant = { /** - * Calls the method + * 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, [ @@ -567,7 +580,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -577,7 +590,7 @@ export class AbiGenDummyContract extends BaseContract { }; public withAddressInput = { /** - * Calls the method + * 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( x: string, @@ -628,7 +641,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(x: string, a: BigNumber, b: BigNumber, y: string, c: BigNumber): string { assert.isString('x', x); @@ -646,7 +659,7 @@ export class AbiGenDummyContract extends BaseContract { }; public structInput = { /** - * Calls the method + * 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( s: { someBytes: string; anInteger: number | BigNumber; aDynamicArrayOfBytes: string[]; aString: string }, @@ -685,7 +698,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(s: { someBytes: string; @@ -703,7 +716,7 @@ export class AbiGenDummyContract extends BaseContract { }; public nonPureMethod = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -727,7 +740,7 @@ export class AbiGenDummyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -752,7 +765,7 @@ export class AbiGenDummyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -775,7 +788,7 @@ export class AbiGenDummyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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, [ @@ -810,7 +823,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -820,7 +833,7 @@ export class AbiGenDummyContract extends BaseContract { }; public simplePureFunctionWithInput = { /** - * Calls the method + * 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(x: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isBigNumber('x', x); @@ -856,7 +869,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(x: BigNumber): string { assert.isBigNumber('x', x); @@ -867,7 +880,7 @@ export class AbiGenDummyContract extends BaseContract { }; public nonPureMethodThatReturnsNothing = { /** - * Sends the transaction + * Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write Ethereum operation and will cost gas. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -891,7 +904,7 @@ export class AbiGenDummyContract extends BaseContract { return txHash; }, /** - * Sends the transaction and wait for it to succeed + * Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. If the transaction was mined, but reverted, an error is thrown. * @param txData Additional data for transaction * @param pollingIntervalMs Interval at which to poll for success * @returns A promise that resolves when the transaction is successful @@ -916,7 +929,7 @@ export class AbiGenDummyContract extends BaseContract { ); }, /** - * Estimate gas to send the transaction + * Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. * @param txData Additional data for transaction * @returns The hash of the transaction */ @@ -939,7 +952,7 @@ export class AbiGenDummyContract extends BaseContract { return gas; }, /** - * Calls the method + * 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, [ @@ -974,7 +987,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -984,7 +997,7 @@ export class AbiGenDummyContract extends BaseContract { }; public simplePureFunction = { /** - * Calls the method + * 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, [ @@ -1019,7 +1032,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -1029,7 +1042,7 @@ export class AbiGenDummyContract extends BaseContract { }; public nestedStructInput = { /** - * Calls the method + * 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( n: { @@ -1079,7 +1092,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(n: { innerStruct: { @@ -1103,7 +1116,7 @@ export class AbiGenDummyContract extends BaseContract { */ public structOutput = { /** - * Calls the method + * 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. * @returns a Struct struct */ async callAsync( @@ -1147,7 +1160,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; @@ -1157,7 +1170,7 @@ export class AbiGenDummyContract extends BaseContract { }; public pureFunctionWithConstant = { /** - * Calls the method + * 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, [ @@ -1192,7 +1205,7 @@ export class AbiGenDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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; diff --git a/packages/abi-gen/test-cli/expected-output/typescript/test_lib_dummy.ts b/packages/abi-gen/test-cli/expected-output/typescript/test_lib_dummy.ts index 6577e960f0..9d4bc0ed2a 100644 --- a/packages/abi-gen/test-cli/expected-output/typescript/test_lib_dummy.ts +++ b/packages/abi-gen/test-cli/expected-output/typescript/test_lib_dummy.ts @@ -29,7 +29,7 @@ import * as ethers from 'ethers'; export class TestLibDummyContract extends BaseContract { public publicAddConstant = { /** - * Calls the method + * 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(x: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isBigNumber('x', x); @@ -65,7 +65,7 @@ export class TestLibDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(x: BigNumber): string { assert.isBigNumber('x', x); @@ -76,7 +76,7 @@ export class TestLibDummyContract extends BaseContract { }; public publicAddOne = { /** - * Calls the method + * 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(x: BigNumber, callData: Partial = {}, defaultBlock?: BlockParam): Promise { assert.isBigNumber('x', x); @@ -112,7 +112,7 @@ export class TestLibDummyContract extends BaseContract { }, /** - * Returns the ABI encoded transaction data + * Returns the ABI encoded transaction data needed to send an Ethereum tx 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(x: BigNumber): string { assert.isBigNumber('x', x); diff --git a/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json b/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json index 6150aefefa..5d0b69c252 100644 --- a/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json +++ b/packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json @@ -403,6 +403,16 @@ "a": "the array of bytes being accepted" } }, + "ecrecoverFn(bytes32,uint8,bytes32,bytes32)": { + "details": "test that devdocs will be generated and that multiline devdocs will look okay", + "params": { + "hash": "description of some hash", + "r": "ECDSA r output", + "s": "ECDSA s output", + "v": "some v, recovery id" + }, + "return": "the signerAddress that created this signature" + }, "structOutput()": { "details": "a method that returns a struct", "return": "a Struct struct" @@ -412,15 +422,15 @@ "evm": { "bytecode": { "linkReferences": {}, - "object": "0x608060405234801561001057600080fd5b50610c17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c806363d69c88116100b25780639a3b618511610081578063ae2dae1711610066578063ae2dae1714610227578063d6d7618c14610235578063d88be12f1461024a57610135565b80639a3b618514610217578063a3c2f6b61461021f57610135565b806363d69c88146101ce578063647341eb146101e157806376f15d5b146101ef5780638ee52b4e1461020457610135565b80633e9ef66a1161010957806345fdbdb7116100ee57806345fdbdb7146101a957806359c28add146101b15780635ba3c7c0146101c657610135565b80633e9ef66a146101935780634582eab2146101a157610135565b806209e4371461013a5780630527c28f146101445780632e1a7d4d1461015757806336b323961461016a575b600080fd5b610142610252565b005b610142610152366004610756565b61028d565b6101426101653660046108d0565b610290565b61017d610178366004610793565b6102e1565b60405161018a9190610a18565b60405180910390f35b6101426101523660046107d6565b6101426103c3565b610142610428565b6101b961045a565b60405161018a9190610adf565b610142610465565b61017d6101dc366004610704565b6104ca565b61014261015236600461089b565b6101f76104d3565b60405161018a9190610b52565b6101f76102123660046108d0565b6104e1565b6101426104e7565b6101f76104f2565b61014261015236600461080b565b61023d6104f7565b60405161018a9190610b3f565b6101f76104ff565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610aa8565b60405180910390fd5b50565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516102d69190610b52565b60405180910390a250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016103329291906109f6565b6040516020818303038152906040528051906020012090506001818787876040516000815260200160405260405161036d9493929190610a39565b6020604051602081039080840390855afa15801561038f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610a71565b610462610505565b90565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b50929392505050565b600080546001019081905590565b60010190565b600080546001019055565b600190565b610462610525565b6104d290565b6040518060a00160405280610518610525565b8152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b600082601f830112610563578081fd5b813567ffffffffffffffff811115610579578182fd5b60206105888182840201610b5b565b828152925080830184820160005b848110156105bf576105ad888584358a01016105ca565b83529183019190830190600101610596565b505050505092915050565b600082601f8301126105da578081fd5b813567ffffffffffffffff8111156105f0578182fd5b61062160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610b5b565b915080825283602082850101111561063857600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610662578081fd5b61066c6080610b5b565b90506000823567ffffffffffffffff80821115610687578283fd5b610693868387016105ca565b84526020850135915063ffffffff821682146106ad578283fd5b81602085015260408501359150808211156106c6578283fd5b6106d286838701610553565b604085015260608501359150808211156106ea578283fd5b506106f7858286016105ca565b6060840152505092915050565b600080600080600060a0868803121561071c57600080fd5b853561072781610bb2565b94506020860135935060408601359250606086013561074581610bb2565b949793965091946080013592915050565b60006020828403121561076857600080fd5b813567ffffffffffffffff81111561077f57600080fd5b61078b84828501610553565b949350505050565b600080600080608085870312156107a957600080fd5b84359350602085013560ff811681146107c157600080fd5b93969395505050506040820135916060013590565b6000602082840312156107e857600080fd5b813567ffffffffffffffff8111156107ff57600080fd5b61078b848285016105ca565b60006020828403121561081c578081fd5b813567ffffffffffffffff80821115610833578283fd5b81840160408187031215610845578384fd5b61084f6040610b5b565b925080358281111561085f578485fd5b61086b87828401610651565b84525060208101358281111561087f578485fd5b61088b878284016105ca565b6020850152509195945050505050565b6000602082840312156108ad57600080fd5b813567ffffffffffffffff8111156108c457600080fd5b61078b84828501610651565b6000602082840312156108e257600080fd5b5035919050565b60008151808452610901816020860160208601610b82565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516080845261094860808501826108e9565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b828510156109cf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08683030184526109bb8282516108e9565b600195909501949387019391508601610981565b506060880151955088810360608a01526109e981876108e9565b9998505050505050505050565b60008351610a08818460208801610b82565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610a6a60208301846108e9565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160406020840152610afb6060840182610933565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016040850152610b3681836108e9565b95945050505050565b600060208252610a6a6020830184610933565b90815260200190565b60405181810167ffffffffffffffff81118282101715610b7a57600080fd5b604052919050565b60005b83811015610b9d578181015183820152602001610b85565b83811115610bac576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461028d57600080fdfea365627a7a723058201a16b3cd19a115b5cfe3a42e5ddcd7a41b75f4a376a121a647cd429cbbf546266c6578706572696d656e74616cf564736f6c634300050a0040", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC17 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 0x135 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x235 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x24A JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x217 JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x21F JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x204 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x1B1 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x1C6 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x193 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x1A1 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x13A JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x16A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x142 PUSH2 0x252 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x756 JUMP JUMPDEST PUSH2 0x28D JUMP JUMPDEST PUSH2 0x142 PUSH2 0x165 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x290 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x178 CALLDATASIZE PUSH1 0x4 PUSH2 0x793 JUMP JUMPDEST PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xA18 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x7D6 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x3C3 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x428 JUMP JUMPDEST PUSH2 0x1B9 PUSH2 0x45A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xADF JUMP JUMPDEST PUSH2 0x142 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0x704 JUMP JUMPDEST PUSH2 0x4CA JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x89B JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x212 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x4E1 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x4E7 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4F2 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x80B JUMP JUMPDEST PUSH2 0x23D PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xAA8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x2D6 SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 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 0x332 SWAP3 SWAP2 SWAP1 PUSH2 0x9F6 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 0x36D SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA39 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x38F 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 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xA71 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x505 JUMP JUMPDEST SWAP1 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 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 PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x525 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x518 PUSH2 0x525 JUMP JUMPDEST 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 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x563 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x579 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x588 DUP2 DUP3 DUP5 MUL ADD PUSH2 0xB5B JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x5BF JUMPI PUSH2 0x5AD DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x5CA JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x596 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5DA JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5F0 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x621 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0xB5B JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x638 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 0x662 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x66C PUSH1 0x80 PUSH2 0xB5B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x687 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x693 DUP7 DUP4 DUP8 ADD PUSH2 0x5CA JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0x6AD JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6C6 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6D2 DUP7 DUP4 DUP8 ADD PUSH2 0x553 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6EA JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6F7 DUP6 DUP3 DUP7 ADD PUSH2 0x5CA 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 0x71C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0x727 DUP2 PUSH2 0xBB2 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0x745 DUP2 PUSH2 0xBB2 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 0x768 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x77F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x553 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x7A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7C1 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 0x7E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x5CA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x81C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x833 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0x845 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0x84F PUSH1 0x40 PUSH2 0xB5B JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x85F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x86B DUP8 DUP3 DUP5 ADD PUSH2 0x651 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x87F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x88B DUP8 DUP3 DUP5 ADD PUSH2 0x5CA 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 0x8AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x8C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x651 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x8E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x901 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xB82 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 0x948 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0x8E9 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 0x9CF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0x9BB DUP3 DUP3 MLOAD PUSH2 0x8E9 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0x981 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0x9E9 DUP2 DUP8 PUSH2 0x8E9 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xA08 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0xB82 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 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8E9 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 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xAFB PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0x933 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xB36 DUP2 DUP4 PUSH2 0x8E9 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x933 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 0xB7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xB9D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xB85 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xBAC JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x28D JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 BYTE AND 0xb3 0xcd NOT LOG1 ISZERO 0xb5 0xcf 0xe3 LOG4 0x2e 0x5d 0xdc 0xd7 LOG4 SHL PUSH22 0xF4A376A121A647CD429CBBF546266C6578706572696D PUSH6 0x6E74616CF564 PUSH20 0x6F6C634300050A00400000000000000000000000 ", - "sourceMap": "641:2908:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:2908:0;;;;;;;" + "object": "0x608060405234801561001057600080fd5b50610c17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c806363d69c88116100b25780639a3b618511610081578063ae2dae1711610066578063ae2dae1714610227578063d6d7618c14610235578063d88be12f1461024a57610135565b80639a3b618514610217578063a3c2f6b61461021f57610135565b806363d69c88146101ce578063647341eb146101e157806376f15d5b146101ef5780638ee52b4e1461020457610135565b80633e9ef66a1161010957806345fdbdb7116100ee57806345fdbdb7146101a957806359c28add146101b15780635ba3c7c0146101c657610135565b80633e9ef66a146101935780634582eab2146101a157610135565b806209e4371461013a5780630527c28f146101445780632e1a7d4d1461015757806336b323961461016a575b600080fd5b610142610252565b005b610142610152366004610756565b61028d565b6101426101653660046108d0565b610290565b61017d610178366004610793565b6102e1565b60405161018a9190610a18565b60405180910390f35b6101426101523660046107d6565b6101426103c3565b610142610428565b6101b961045a565b60405161018a9190610adf565b610142610465565b61017d6101dc366004610704565b6104ca565b61014261015236600461089b565b6101f76104d3565b60405161018a9190610b52565b6101f76102123660046108d0565b6104e1565b6101426104e7565b6101f76104f2565b61014261015236600461080b565b61023d6104f7565b60405161018a9190610b3f565b6101f76104ff565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610aa8565b60405180910390fd5b50565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516102d69190610b52565b60405180910390a250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016103329291906109f6565b6040516020818303038152906040528051906020012090506001818787876040516000815260200160405260405161036d9493929190610a39565b6020604051602081039080840390855afa15801561038f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610a71565b610462610505565b90565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b50929392505050565b600080546001019081905590565b60010190565b600080546001019055565b600190565b610462610525565b6104d290565b6040518060a00160405280610518610525565b8152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b600082601f830112610563578081fd5b813567ffffffffffffffff811115610579578182fd5b60206105888182840201610b5b565b828152925080830184820160005b848110156105bf576105ad888584358a01016105ca565b83529183019190830190600101610596565b505050505092915050565b600082601f8301126105da578081fd5b813567ffffffffffffffff8111156105f0578182fd5b61062160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610b5b565b915080825283602082850101111561063857600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610662578081fd5b61066c6080610b5b565b90506000823567ffffffffffffffff80821115610687578283fd5b610693868387016105ca565b84526020850135915063ffffffff821682146106ad578283fd5b81602085015260408501359150808211156106c6578283fd5b6106d286838701610553565b604085015260608501359150808211156106ea578283fd5b506106f7858286016105ca565b6060840152505092915050565b600080600080600060a0868803121561071c57600080fd5b853561072781610bb2565b94506020860135935060408601359250606086013561074581610bb2565b949793965091946080013592915050565b60006020828403121561076857600080fd5b813567ffffffffffffffff81111561077f57600080fd5b61078b84828501610553565b949350505050565b600080600080608085870312156107a957600080fd5b84359350602085013560ff811681146107c157600080fd5b93969395505050506040820135916060013590565b6000602082840312156107e857600080fd5b813567ffffffffffffffff8111156107ff57600080fd5b61078b848285016105ca565b60006020828403121561081c578081fd5b813567ffffffffffffffff80821115610833578283fd5b81840160408187031215610845578384fd5b61084f6040610b5b565b925080358281111561085f578485fd5b61086b87828401610651565b84525060208101358281111561087f578485fd5b61088b878284016105ca565b6020850152509195945050505050565b6000602082840312156108ad57600080fd5b813567ffffffffffffffff8111156108c457600080fd5b61078b84828501610651565b6000602082840312156108e257600080fd5b5035919050565b60008151808452610901816020860160208601610b82565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516080845261094860808501826108e9565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b828510156109cf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08683030184526109bb8282516108e9565b600195909501949387019391508601610981565b506060880151955088810360608a01526109e981876108e9565b9998505050505050505050565b60008351610a08818460208801610b82565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610a6a60208301846108e9565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160406020840152610afb6060840182610933565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016040850152610b3681836108e9565b95945050505050565b600060208252610a6a6020830184610933565b90815260200190565b60405181810167ffffffffffffffff81118282101715610b7a57600080fd5b604052919050565b60005b83811015610b9d578181015183820152602001610b85565b83811115610bac576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461028d57600080fdfea365627a7a723058202d60afe7b5d69529de3e778edb2bca2ade7bc5150e870da6c6df9f9f6488a9226c6578706572696d656e74616cf564736f6c634300050a0040", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC17 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 0x135 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x235 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x24A JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x217 JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x21F JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x204 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x1B1 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x1C6 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x193 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x1A1 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x13A JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x16A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x142 PUSH2 0x252 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x756 JUMP JUMPDEST PUSH2 0x28D JUMP JUMPDEST PUSH2 0x142 PUSH2 0x165 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x290 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x178 CALLDATASIZE PUSH1 0x4 PUSH2 0x793 JUMP JUMPDEST PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xA18 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x7D6 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x3C3 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x428 JUMP JUMPDEST PUSH2 0x1B9 PUSH2 0x45A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xADF JUMP JUMPDEST PUSH2 0x142 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0x704 JUMP JUMPDEST PUSH2 0x4CA JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x89B JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x212 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x4E1 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x4E7 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4F2 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x80B JUMP JUMPDEST PUSH2 0x23D PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xAA8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x2D6 SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 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 0x332 SWAP3 SWAP2 SWAP1 PUSH2 0x9F6 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 0x36D SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA39 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x38F 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 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xA71 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x505 JUMP JUMPDEST SWAP1 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 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 PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x525 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x518 PUSH2 0x525 JUMP JUMPDEST 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 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x563 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x579 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x588 DUP2 DUP3 DUP5 MUL ADD PUSH2 0xB5B JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x5BF JUMPI PUSH2 0x5AD DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x5CA JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x596 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5DA JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5F0 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x621 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0xB5B JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x638 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 0x662 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x66C PUSH1 0x80 PUSH2 0xB5B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x687 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x693 DUP7 DUP4 DUP8 ADD PUSH2 0x5CA JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0x6AD JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6C6 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6D2 DUP7 DUP4 DUP8 ADD PUSH2 0x553 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6EA JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6F7 DUP6 DUP3 DUP7 ADD PUSH2 0x5CA 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 0x71C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0x727 DUP2 PUSH2 0xBB2 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0x745 DUP2 PUSH2 0xBB2 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 0x768 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x77F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x553 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x7A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7C1 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 0x7E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x5CA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x81C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x833 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0x845 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0x84F PUSH1 0x40 PUSH2 0xB5B JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x85F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x86B DUP8 DUP3 DUP5 ADD PUSH2 0x651 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x87F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x88B DUP8 DUP3 DUP5 ADD PUSH2 0x5CA 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 0x8AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x8C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x651 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x8E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x901 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xB82 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 0x948 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0x8E9 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 0x9CF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0x9BB DUP3 DUP3 MLOAD PUSH2 0x8E9 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0x981 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0x9E9 DUP2 DUP8 PUSH2 0x8E9 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xA08 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0xB82 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 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8E9 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 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xAFB PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0x933 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xB36 DUP2 DUP4 PUSH2 0x8E9 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x933 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 0xB7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xB9D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xB85 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xBAC JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x28D JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0x2d PUSH1 0xAF 0xe7 0xb5 0xd6 SWAP6 0x29 0xde RETURNDATACOPY PUSH24 0x8EDB2BCA2ADE7BC5150E870DA6C6DF9F9F6488A9226C6578 PUSH17 0x6572696D656E74616CF564736F6C634300 SDIV EXP STOP BLOCKHASH ", + "sourceMap": "641:3232:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:3232:0;;;;;;;" }, "deployedBytecode": { "linkReferences": {}, - "object": "0x608060405234801561001057600080fd5b50600436106101355760003560e01c806363d69c88116100b25780639a3b618511610081578063ae2dae1711610066578063ae2dae1714610227578063d6d7618c14610235578063d88be12f1461024a57610135565b80639a3b618514610217578063a3c2f6b61461021f57610135565b806363d69c88146101ce578063647341eb146101e157806376f15d5b146101ef5780638ee52b4e1461020457610135565b80633e9ef66a1161010957806345fdbdb7116100ee57806345fdbdb7146101a957806359c28add146101b15780635ba3c7c0146101c657610135565b80633e9ef66a146101935780634582eab2146101a157610135565b806209e4371461013a5780630527c28f146101445780632e1a7d4d1461015757806336b323961461016a575b600080fd5b610142610252565b005b610142610152366004610756565b61028d565b6101426101653660046108d0565b610290565b61017d610178366004610793565b6102e1565b60405161018a9190610a18565b60405180910390f35b6101426101523660046107d6565b6101426103c3565b610142610428565b6101b961045a565b60405161018a9190610adf565b610142610465565b61017d6101dc366004610704565b6104ca565b61014261015236600461089b565b6101f76104d3565b60405161018a9190610b52565b6101f76102123660046108d0565b6104e1565b6101426104e7565b6101f76104f2565b61014261015236600461080b565b61023d6104f7565b60405161018a9190610b3f565b6101f76104ff565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610aa8565b60405180910390fd5b50565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516102d69190610b52565b60405180910390a250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016103329291906109f6565b6040516020818303038152906040528051906020012090506001818787876040516000815260200160405260405161036d9493929190610a39565b6020604051602081039080840390855afa15801561038f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610a71565b610462610505565b90565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b50929392505050565b600080546001019081905590565b60010190565b600080546001019055565b600190565b610462610525565b6104d290565b6040518060a00160405280610518610525565b8152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b600082601f830112610563578081fd5b813567ffffffffffffffff811115610579578182fd5b60206105888182840201610b5b565b828152925080830184820160005b848110156105bf576105ad888584358a01016105ca565b83529183019190830190600101610596565b505050505092915050565b600082601f8301126105da578081fd5b813567ffffffffffffffff8111156105f0578182fd5b61062160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610b5b565b915080825283602082850101111561063857600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610662578081fd5b61066c6080610b5b565b90506000823567ffffffffffffffff80821115610687578283fd5b610693868387016105ca565b84526020850135915063ffffffff821682146106ad578283fd5b81602085015260408501359150808211156106c6578283fd5b6106d286838701610553565b604085015260608501359150808211156106ea578283fd5b506106f7858286016105ca565b6060840152505092915050565b600080600080600060a0868803121561071c57600080fd5b853561072781610bb2565b94506020860135935060408601359250606086013561074581610bb2565b949793965091946080013592915050565b60006020828403121561076857600080fd5b813567ffffffffffffffff81111561077f57600080fd5b61078b84828501610553565b949350505050565b600080600080608085870312156107a957600080fd5b84359350602085013560ff811681146107c157600080fd5b93969395505050506040820135916060013590565b6000602082840312156107e857600080fd5b813567ffffffffffffffff8111156107ff57600080fd5b61078b848285016105ca565b60006020828403121561081c578081fd5b813567ffffffffffffffff80821115610833578283fd5b81840160408187031215610845578384fd5b61084f6040610b5b565b925080358281111561085f578485fd5b61086b87828401610651565b84525060208101358281111561087f578485fd5b61088b878284016105ca565b6020850152509195945050505050565b6000602082840312156108ad57600080fd5b813567ffffffffffffffff8111156108c457600080fd5b61078b84828501610651565b6000602082840312156108e257600080fd5b5035919050565b60008151808452610901816020860160208601610b82565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516080845261094860808501826108e9565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b828510156109cf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08683030184526109bb8282516108e9565b600195909501949387019391508601610981565b506060880151955088810360608a01526109e981876108e9565b9998505050505050505050565b60008351610a08818460208801610b82565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610a6a60208301846108e9565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160406020840152610afb6060840182610933565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016040850152610b3681836108e9565b95945050505050565b600060208252610a6a6020830184610933565b90815260200190565b60405181810167ffffffffffffffff81118282101715610b7a57600080fd5b604052919050565b60005b83811015610b9d578181015183820152602001610b85565b83811115610bac576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461028d57600080fdfea365627a7a723058201a16b3cd19a115b5cfe3a42e5ddcd7a41b75f4a376a121a647cd429cbbf546266c6578706572696d656e74616cf564736f6c634300050a0040", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x135 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x235 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x24A JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x217 JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x21F JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x204 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x1B1 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x1C6 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x193 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x1A1 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x13A JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x16A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x142 PUSH2 0x252 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x756 JUMP JUMPDEST PUSH2 0x28D JUMP JUMPDEST PUSH2 0x142 PUSH2 0x165 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x290 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x178 CALLDATASIZE PUSH1 0x4 PUSH2 0x793 JUMP JUMPDEST PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xA18 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x7D6 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x3C3 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x428 JUMP JUMPDEST PUSH2 0x1B9 PUSH2 0x45A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xADF JUMP JUMPDEST PUSH2 0x142 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0x704 JUMP JUMPDEST PUSH2 0x4CA JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x89B JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x212 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x4E1 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x4E7 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4F2 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x80B JUMP JUMPDEST PUSH2 0x23D PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xAA8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x2D6 SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 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 0x332 SWAP3 SWAP2 SWAP1 PUSH2 0x9F6 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 0x36D SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA39 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x38F 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 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xA71 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x505 JUMP JUMPDEST SWAP1 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 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 PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x525 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x518 PUSH2 0x525 JUMP JUMPDEST 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 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x563 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x579 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x588 DUP2 DUP3 DUP5 MUL ADD PUSH2 0xB5B JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x5BF JUMPI PUSH2 0x5AD DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x5CA JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x596 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5DA JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5F0 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x621 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0xB5B JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x638 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 0x662 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x66C PUSH1 0x80 PUSH2 0xB5B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x687 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x693 DUP7 DUP4 DUP8 ADD PUSH2 0x5CA JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0x6AD JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6C6 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6D2 DUP7 DUP4 DUP8 ADD PUSH2 0x553 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6EA JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6F7 DUP6 DUP3 DUP7 ADD PUSH2 0x5CA 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 0x71C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0x727 DUP2 PUSH2 0xBB2 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0x745 DUP2 PUSH2 0xBB2 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 0x768 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x77F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x553 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x7A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7C1 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 0x7E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x5CA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x81C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x833 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0x845 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0x84F PUSH1 0x40 PUSH2 0xB5B JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x85F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x86B DUP8 DUP3 DUP5 ADD PUSH2 0x651 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x87F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x88B DUP8 DUP3 DUP5 ADD PUSH2 0x5CA 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 0x8AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x8C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x651 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x8E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x901 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xB82 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 0x948 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0x8E9 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 0x9CF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0x9BB DUP3 DUP3 MLOAD PUSH2 0x8E9 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0x981 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0x9E9 DUP2 DUP8 PUSH2 0x8E9 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xA08 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0xB82 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 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8E9 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 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xAFB PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0x933 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xB36 DUP2 DUP4 PUSH2 0x8E9 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x933 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 0xB7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xB9D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xB85 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xBAC JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x28D JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 BYTE AND 0xb3 0xcd NOT LOG1 ISZERO 0xb5 0xcf 0xe3 LOG4 0x2e 0x5d 0xdc 0xd7 LOG4 SHL PUSH22 0xF4A376A121A647CD429CBBF546266C6578706572696D PUSH6 0x6E74616CF564 PUSH20 0x6F6C634300050A00400000000000000000000000 ", - "sourceMap": "641:2908:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:2908:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1496:107;;;:::i;:::-;;2732:63;;;;;;;;;:::i;2127:84::-;;;;;;;;;:::i;1726:334::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2570:52;;;;;;;1389:101;;;:::i;1286:97::-;;;:::i;3302:73::-;;;:::i;:::-;;;;;;;;1609:111;;;:::i;2365:166::-;;;;;;;;;:::i;2941:52::-;;;;;;;3401:72;;;:::i;:::-;;;;;;;;989:140;;;;;;;;;:::i;3478:69::-;;;:::i;862:121::-;;;:::i;3233:64::-;;;;;;;3075:63;;;:::i;:::-;;;;;;;;1135:145;;;:::i;1496:107::-;1564:32;;;;;;;;;;;;;;;;;;;2732:63;;:::o;2127:84::-;2188:10;2177:27;;;2200:3;2177:27;;;;;;;;;;;;;;;2127:84;:::o;1726:334::-;1837:21;1874:19;:56;;;;;;;;;;;;;;;;;;;1940:20;1990:6;1998:4;1973:30;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;1973:30:0;;;1963:41;;;;;;1940:64;;2021:32;2031:12;2045:1;2048;2051;2021:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;2021:32:0;;;;;;1726:334;-1:-1:-1;;;;;;;;1726:334:0:o;1389:101::-;1469:13;;;;;;;;;;;;;;;;1462:21;;;;;;;1469:13;1462:21;;;;1286:97;1353:23;;;;;;;;;;;3302:73;3352:19;;:::i;:::-;3302:73;:::o;1609:111::-;1698:14;;;;;;;;;;;;;;;;1683:30;;;;;;;1698:14;1683:30;;;;2365:166;-1:-1:-1;2523:1:0;;2365:166;-1:-1:-1;;;2365:166:0:o;3401:72::-;3441:4;3456:14;;3469:1;3456:14;;;;;3401:72;:::o;989:140::-;1117:1;:5;;989:140::o;3478:69::-;3530:9;:14;;3543:1;3530:14;;;3478:69::o;862:121::-;975:1;862:121;:::o;3075:63::-;3119:15;;:::i;1135:145::-;711:4;1135:145;:::o;641:2908::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::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;20177:18;20169:6;20166:30;20163:2;;;-1:-1;;20199:12;20163:2;20244:4;353:81;20307:4;20244;20236:6;20232:17;20297: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;20784:18;20776:6;20773:30;20770:2;;;-1:-1;;20806:12;20770:2;1880:60;20947:4;20879:9;1796:4;20864:6;20860:17;20856:33;20937:15;1880:60;;;1871:69;;1960:6;1953:5;1946:21;2064:3;20947:4;2055:6;1988;2046:16;;2043:25;2040:2;;;2081:1;;2071:12;2040:2;23898:6;20947:4;1988:6;1984:17;20947:4;2022:5;2018:16;23875:30;23954:1;23936:16;;;20947:4;23936:16;23929:27;2022:5;1763:375;-1:-1;;1763:375;3796:1071;;3904:4;3892:9;3887:3;3883:19;3879:30;3876:2;;;-1:-1;;3912:12;3876:2;3940:20;3904:4;3940:20;;;3931:29;;4043:1;4028:17;4015:31;4066:18;;4058:6;4055:30;4052:2;;;4098:1;4095;4088:12;4052:2;4132:54;4182:3;4173:6;4162:9;4158:22;4132:54;;;4115:15;4108:79;4253:2;4310:9;4306:22;6191:20;6182:29;;23705:10;24890:5;23694:22;24866:5;24863:34;24853:2;;24911:1;24908;24901:12;24853:2;4286:48;4253:2;4272:5;4268:16;4261:74;4440:2;4429:9;4425:18;4412:32;4398:46;;4464:18;4456:6;4453:30;4450:2;;;4496:1;4493;4486:12;4450:2;4531:75;4602:3;4593:6;4582:9;4578:22;4531:75;;;4440:2;4517:5;4513:16;4506:101;4699:2;4688:9;4684:18;4671:32;4657:46;;4723:18;4715:6;4712:30;4709:2;;;4755:1;4752;4745:12;4709:2;;4790:55;4841:3;4832:6;4821:9;4817:22;4790:55;;;4699:2;4776:5;4772:16;4765:81;;;3870:997;;;;;6393:743;;;;;;6565:3;6553:9;6544:7;6540:23;6536:33;6533:2;;;-1:-1;;6572:12;6533:2;85:6;72:20;97:33;124:5;97:33;;;6624:63;-1:-1;6724:2;6763:22;;6055:20;;-1:-1;6832:2;6871:22;;6055:20;;-1:-1;6940:2;6979:22;;72:20;97:33;72:20;97:33;;;6527:609;;;;-1:-1;6527:609;;7048:3;7088:22;6055:20;;6527:609;-1:-1;;6527:609;7143:387;;7277:2;7265:9;7256:7;7252:23;7248:32;7245:2;;;-1:-1;;7283:12;7245:2;7341:17;7328:31;7379:18;7371:6;7368:30;7365:2;;;-1:-1;;7401:12;7365:2;7431:83;7506:7;7497:6;7486:9;7482:22;7431:83;;;7421:93;7239:291;-1:-1;;;;7239:291;7537:613;;;;;7690:3;7678:9;7669:7;7665:23;7661:33;7658:2;;;-1:-1;;7697:12;7658:2;1648:6;1635:20;7749:63;;7849:2;7890:9;7886:22;6325:20;23799:4;25010:5;23788:16;24987:5;24984:33;24974:2;;-1:-1;;25021:12;24974:2;7652:498;;7857:61;;-1:-1;;;;7955:2;7994:22;;1635:20;;8063:2;8102:22;1635:20;;7652:498;8157:345;;8270:2;8258:9;8249:7;8245:23;8241:32;8238:2;;;-1:-1;;8276:12;8238:2;8334:17;8321:31;8372:18;8364:6;8361:30;8358:2;;;-1:-1;;8394:12;8358:2;8424:62;8478:7;8469:6;8458:9;8454:22;8424:62;;8509:385;;8642:2;8630:9;8621:7;8617:23;8613:32;8610:2;;;8658:1;8655;8648:12;8610:2;8706:17;8693:31;8744:18;;8736:6;8733:30;8730:2;;;8776:1;8773;8766:12;8730:2;8861:6;8850:9;8846:22;3194:4;3182:9;3177:3;3173:19;3169:30;3166:2;;;3212:1;3209;3202:12;3166:2;3230:20;3194:4;3230:20;;;3221:29;;3320:17;3307:31;3358:18;3350:6;3347:30;3344:2;;;3390:1;3387;3380:12;3344:2;3424:68;3488:3;3479:6;3468:9;3464:22;3424:68;;;3407:15;3400:93;;8642:2;3578:9;3574:18;3561:32;3613:18;3605:6;3602:30;3599:2;;;3645:1;3642;3635:12;3599:2;3680:55;3731:3;3722:6;3711:9;3707:22;3680:55;;;8642:2;3662:16;;3655:81;-1:-1;3666:5;;8604:290;-1:-1;;;;;8604:290;8901:373;;9028:2;9016:9;9007:7;9003:23;8999:32;8996:2;;;-1:-1;;9034:12;8996:2;9092:17;9079:31;9130:18;9122:6;9119:30;9116:2;;;-1:-1;;9152:12;9116:2;9182:76;9250:7;9241:6;9230:9;9226:22;9182:76;;9281:241;;9385:2;9373:9;9364:7;9360:23;9356:32;9353:2;;;-1:-1;;9391:12;9353:2;-1:-1;6055:20;;9347:175;-1:-1;9347:175;11364:315;;11488:5;21885:12;22545:6;22540:3;22533:19;11571:52;11616:6;22582:4;22577:3;22573:14;22582:4;11597:5;11593:16;11571:52;;;24416:2;24396:14;24412:7;24392:28;11635:39;;;;22582:4;11635:39;;11440:239;-1:-1;;11440:239;13930:1078;;14154:15;14148:22;14077:4;14190:13;14183:37;14235:67;14077:4;14072:3;14068:14;14283:12;14235:67;;;14392:4;;;23705:10;14392:4;14385:5;14381:16;14375:23;23694:22;14459:4;14454:3;14450:14;16326:36;14560:4;14553:5;14549:16;14543:23;14612:3;14606:4;14602:14;14560:4;14590:3;14586:14;14579:38;14632:109;10052:5;21885:12;22545:6;22540:3;22533:19;22582:4;22577:3;22573:14;10064:88;;14392:4;10217;10209:6;10205:17;22577:3;10196:27;;21747:4;10295:5;21738:14;-1:-1;10340:10;;10334:341;10359:6;10356:1;10353:13;10334:341;;;10411:20;22577:3;10415:4;10411:20;;10406:3;10399:33;9641:60;9697:3;10466:6;10460:13;9641:60;;;10381:1;10374:9;;;;;10654:14;;;;10480:82;-1:-1;22393:14;;10334:341;;;10338:14;14829:4;14822:5;14818:16;14812:23;14792:43;;14881:3;14875:4;14871:14;14829:4;14859:3;14855:14;14848:38;14901:69;14965:4;14951:12;14901:69;;;14992:11;14050:958;-1:-1;;;;;;;;;14050:958;16488:401;;11161:5;21885:12;11272:52;11317:6;11312:3;11305:4;11298:5;11294:16;11272:52;;;11336:16;;;;10793:37;;;-1:-1;11305:4;16852:12;;16641:248;-1:-1;16641:248;16896:213;23499:42;23488:54;;;;9786:37;;17014:2;16999:18;;16985:124;17116:539;10793:37;;;23799:4;23788:16;;;;17475:2;17460:18;;16441:35;17558:2;17543:18;;10793:37;17641:2;17626:18;;10793:37;17314:3;17299:19;;17285:370;17662:293;;17796:2;17817:17;17810:47;17871:74;17796:2;17785:9;17781:18;17931:6;17871:74;;;17863:82;17767:188;-1:-1;;;17767:188;17962:407;18153:2;18167:47;;;12583:2;18138:18;;;22533:19;12619:66;22573:14;;;12599:87;12705:12;;;18124:245;18376:407;18567:2;18581:47;;;12956:2;18552:18;;;22533:19;12992:66;22573:14;;;12972:87;13078:12;;;18538:245;18790:377;;18966:2;18987:17;18980:47;13415:15;13409:22;13336:4;18966:2;18955:9;18951:18;13444:37;13496:95;13327:14;18955:9;13327:14;13572:12;13496:95;;;18966:2;13676:5;13672:16;13666:23;13646:43;;13725:14;18955:9;13729:4;13725:14;;13336:4;18955:9;13709:14;13702:38;13755:69;13819:4;13805:12;13755:69;;;19033:124;18937:230;-1:-1;;;;;18937:230;19174:353;;19338:2;19359:17;19352:47;19413:104;19338:2;19327:9;19323:18;19503:6;19413:104;;19534:213;10793:37;;;19652:2;19637:18;;19623:124;19754:256;19816:2;19810:9;19842:17;;;19917:18;19902:34;;19938:22;;;19899:62;19896:2;;;19974:1;;19964:12;19896:2;19816;19983:22;19794:216;;-1:-1;19794:216;23971:268;24036:1;24043:101;24057:6;24054:1;24051:13;24043:101;;;24124:11;;;24118:18;24105:11;;;24098:39;24079:2;24072:10;24043:101;;;24159:6;24156:1;24153:13;24150:2;;;24036:1;24215:6;24210:3;24206:16;24199:27;24150:2;;24020:219;;;;24433:117;23499:42;24520:5;23488:54;24495:5;24492:35;24482:2;;24541:1;;24531:12" + "object": "0x608060405234801561001057600080fd5b50600436106101355760003560e01c806363d69c88116100b25780639a3b618511610081578063ae2dae1711610066578063ae2dae1714610227578063d6d7618c14610235578063d88be12f1461024a57610135565b80639a3b618514610217578063a3c2f6b61461021f57610135565b806363d69c88146101ce578063647341eb146101e157806376f15d5b146101ef5780638ee52b4e1461020457610135565b80633e9ef66a1161010957806345fdbdb7116100ee57806345fdbdb7146101a957806359c28add146101b15780635ba3c7c0146101c657610135565b80633e9ef66a146101935780634582eab2146101a157610135565b806209e4371461013a5780630527c28f146101445780632e1a7d4d1461015757806336b323961461016a575b600080fd5b610142610252565b005b610142610152366004610756565b61028d565b6101426101653660046108d0565b610290565b61017d610178366004610793565b6102e1565b60405161018a9190610a18565b60405180910390f35b6101426101523660046107d6565b6101426103c3565b610142610428565b6101b961045a565b60405161018a9190610adf565b610142610465565b61017d6101dc366004610704565b6104ca565b61014261015236600461089b565b6101f76104d3565b60405161018a9190610b52565b6101f76102123660046108d0565b6104e1565b6101426104e7565b6101f76104f2565b61014261015236600461080b565b61023d6104f7565b60405161018a9190610b3f565b6101f76104ff565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610aa8565b60405180910390fd5b50565b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516102d69190610b52565b60405180910390a250565b600060606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081876040516020016103329291906109f6565b6040516020818303038152906040528051906020012090506001818787876040516000815260200160405260405161036d9493929190610a39565b6020604051602081039080840390855afa15801561038f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015198975050505050505050565b604080518082018252601481527f5245564552545f574954485f434f4e5354414e54000000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028490610a71565b610462610505565b90565b604080518082018252601581527f524551554952455f574954485f434f4e5354414e540000000000000000000000602082015290517f08c379a00000000000000000000000000000000000000000000000000000000081526102849190600401610a57565b50929392505050565b600080546001019081905590565b60010190565b600080546001019055565b600190565b610462610525565b6104d290565b6040518060a00160405280610518610525565b8152602001606081525090565b604051806080016040528060608152602001600063ffffffff16815260200160608152602001606081525090565b600082601f830112610563578081fd5b813567ffffffffffffffff811115610579578182fd5b60206105888182840201610b5b565b828152925080830184820160005b848110156105bf576105ad888584358a01016105ca565b83529183019190830190600101610596565b505050505092915050565b600082601f8301126105da578081fd5b813567ffffffffffffffff8111156105f0578182fd5b61062160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610b5b565b915080825283602082850101111561063857600080fd5b8060208401602084013760009082016020015292915050565b600060808284031215610662578081fd5b61066c6080610b5b565b90506000823567ffffffffffffffff80821115610687578283fd5b610693868387016105ca565b84526020850135915063ffffffff821682146106ad578283fd5b81602085015260408501359150808211156106c6578283fd5b6106d286838701610553565b604085015260608501359150808211156106ea578283fd5b506106f7858286016105ca565b6060840152505092915050565b600080600080600060a0868803121561071c57600080fd5b853561072781610bb2565b94506020860135935060408601359250606086013561074581610bb2565b949793965091946080013592915050565b60006020828403121561076857600080fd5b813567ffffffffffffffff81111561077f57600080fd5b61078b84828501610553565b949350505050565b600080600080608085870312156107a957600080fd5b84359350602085013560ff811681146107c157600080fd5b93969395505050506040820135916060013590565b6000602082840312156107e857600080fd5b813567ffffffffffffffff8111156107ff57600080fd5b61078b848285016105ca565b60006020828403121561081c578081fd5b813567ffffffffffffffff80821115610833578283fd5b81840160408187031215610845578384fd5b61084f6040610b5b565b925080358281111561085f578485fd5b61086b87828401610651565b84525060208101358281111561087f578485fd5b61088b878284016105ca565b6020850152509195945050505050565b6000602082840312156108ad57600080fd5b813567ffffffffffffffff8111156108c457600080fd5b61078b84828501610651565b6000602082840312156108e257600080fd5b5035919050565b60008151808452610901816020860160208601610b82565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516080845261094860808501826108e9565b6020915063ffffffff82850151168286015260408401518582036040870152818151808452848401915084858202850101858401600094505b828510156109cf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08683030184526109bb8282516108e9565b600195909501949387019391508601610981565b506060880151955088810360608a01526109e981876108e9565b9998505050505050505050565b60008351610a08818460208801610b82565b9190910191825250602001919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610a6a60208301846108e9565b9392505050565b6020808252600d908201527f53494d504c455f52455645525400000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f53494d504c455f52455155495245000000000000000000000000000000000000604082015260600190565b600060208252825160406020840152610afb6060840182610933565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016040850152610b3681836108e9565b95945050505050565b600060208252610a6a6020830184610933565b90815260200190565b60405181810167ffffffffffffffff81118282101715610b7a57600080fd5b604052919050565b60005b83811015610b9d578181015183820152602001610b85565b83811115610bac576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461028d57600080fdfea365627a7a723058202d60afe7b5d69529de3e778edb2bca2ade7bc5150e870da6c6df9f9f6488a9226c6578706572696d656e74616cf564736f6c634300050a0040", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x135 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x63D69C88 GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9A3B6185 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xAE2DAE17 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAE2DAE17 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0xD6D7618C EQ PUSH2 0x235 JUMPI DUP1 PUSH4 0xD88BE12F EQ PUSH2 0x24A JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x9A3B6185 EQ PUSH2 0x217 JUMPI DUP1 PUSH4 0xA3C2F6B6 EQ PUSH2 0x21F JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x63D69C88 EQ PUSH2 0x1CE JUMPI DUP1 PUSH4 0x647341EB EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0x76F15D5B EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0x8EE52B4E EQ PUSH2 0x204 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x45FDBDB7 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x45FDBDB7 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x59C28ADD EQ PUSH2 0x1B1 JUMPI DUP1 PUSH4 0x5BA3C7C0 EQ PUSH2 0x1C6 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x3E9EF66A EQ PUSH2 0x193 JUMPI DUP1 PUSH4 0x4582EAB2 EQ PUSH2 0x1A1 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH3 0x9E437 EQ PUSH2 0x13A JUMPI DUP1 PUSH4 0x527C28F EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0x36B32396 EQ PUSH2 0x16A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x142 PUSH2 0x252 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x756 JUMP JUMPDEST PUSH2 0x28D JUMP JUMPDEST PUSH2 0x142 PUSH2 0x165 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x290 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x178 CALLDATASIZE PUSH1 0x4 PUSH2 0x793 JUMP JUMPDEST PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xA18 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x7D6 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x3C3 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x428 JUMP JUMPDEST PUSH2 0x1B9 PUSH2 0x45A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xADF JUMP JUMPDEST PUSH2 0x142 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x17D PUSH2 0x1DC CALLDATASIZE PUSH1 0x4 PUSH2 0x704 JUMP JUMPDEST PUSH2 0x4CA JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x89B JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x212 CALLDATASIZE PUSH1 0x4 PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x4E1 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x4E7 JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4F2 JUMP JUMPDEST PUSH2 0x142 PUSH2 0x152 CALLDATASIZE PUSH1 0x4 PUSH2 0x80B JUMP JUMPDEST PUSH2 0x23D PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18A SWAP2 SWAP1 PUSH2 0xB3F JUMP JUMPDEST PUSH2 0x1F7 PUSH2 0x4FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xAA8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x7FCF532C15F0A6DB0BD6D0E038BEA71D30D808C7D98CB3BF7268A95BF5081B65 DUP3 PUSH1 0x40 MLOAD PUSH2 0x2D6 SWAP2 SWAP1 PUSH2 0xB52 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 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 0x332 SWAP3 SWAP2 SWAP1 PUSH2 0x9F6 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 0x36D SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA39 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x38F 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 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x284 SWAP1 PUSH2 0xA71 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x505 JUMP JUMPDEST SWAP1 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 0x284 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0xA57 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 PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x462 PUSH2 0x525 JUMP JUMPDEST PUSH2 0x4D2 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x518 PUSH2 0x525 JUMP JUMPDEST 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 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x563 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x579 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 PUSH2 0x588 DUP2 DUP3 DUP5 MUL ADD PUSH2 0xB5B JUMP JUMPDEST DUP3 DUP2 MSTORE SWAP3 POP DUP1 DUP4 ADD DUP5 DUP3 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x5BF JUMPI PUSH2 0x5AD DUP9 DUP6 DUP5 CALLDATALOAD DUP11 ADD ADD PUSH2 0x5CA JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x596 JUMP JUMPDEST POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5DA JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5F0 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x621 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0xB5B JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x638 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 0x662 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x66C PUSH1 0x80 PUSH2 0xB5B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x687 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x693 DUP7 DUP4 DUP8 ADD PUSH2 0x5CA JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH4 0xFFFFFFFF DUP3 AND DUP3 EQ PUSH2 0x6AD JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6C6 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6D2 DUP7 DUP4 DUP8 ADD PUSH2 0x553 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6EA JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6F7 DUP6 DUP3 DUP7 ADD PUSH2 0x5CA 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 0x71C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0x727 DUP2 PUSH2 0xBB2 JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH2 0x745 DUP2 PUSH2 0xBB2 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 0x768 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x77F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x553 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x7A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x7C1 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 0x7E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x5CA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x81C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x833 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD PUSH1 0x40 DUP2 DUP8 SUB SLT ISZERO PUSH2 0x845 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH2 0x84F PUSH1 0x40 PUSH2 0xB5B JUMP JUMPDEST SWAP3 POP DUP1 CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x85F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x86B DUP8 DUP3 DUP5 ADD PUSH2 0x651 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 DUP2 GT ISZERO PUSH2 0x87F JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x88B DUP8 DUP3 DUP5 ADD PUSH2 0x5CA 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 0x8AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x8C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x78B DUP5 DUP3 DUP6 ADD PUSH2 0x651 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x8E2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x901 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0xB82 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 0x948 PUSH1 0x80 DUP6 ADD DUP3 PUSH2 0x8E9 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 0x9CF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP4 SUB ADD DUP5 MSTORE PUSH2 0x9BB DUP3 DUP3 MLOAD PUSH2 0x8E9 JUMP JUMPDEST PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP8 ADD SWAP4 SWAP2 POP DUP7 ADD PUSH2 0x981 JUMP JUMPDEST POP PUSH1 0x60 DUP9 ADD MLOAD SWAP6 POP DUP9 DUP2 SUB PUSH1 0x60 DUP11 ADD MSTORE PUSH2 0x9E9 DUP2 DUP8 PUSH2 0x8E9 JUMP JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 MLOAD PUSH2 0xA08 DUP2 DUP5 PUSH1 0x20 DUP9 ADD PUSH2 0xB82 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 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8E9 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 0x40 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0xAFB PUSH1 0x60 DUP5 ADD DUP3 PUSH2 0x933 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP5 DUP3 SUB ADD PUSH1 0x40 DUP6 ADD MSTORE PUSH2 0xB36 DUP2 DUP4 PUSH2 0x8E9 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xA6A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x933 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 0xB7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xB9D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xB85 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xBAC JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x28D JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG3 PUSH6 0x627A7A723058 KECCAK256 0x2d PUSH1 0xAF 0xe7 0xb5 0xd6 SWAP6 0x29 0xde RETURNDATACOPY PUSH24 0x8EDB2BCA2ADE7BC5150E870DA6C6DF9F9F6488A9226C6578 PUSH17 0x6572696D656E74616CF564736F6C634300 SDIV EXP STOP BLOCKHASH ", + "sourceMap": "641:3232:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;641:3232:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1496:107;;;:::i;:::-;;3056:63;;;;;;;;;:::i;2451:84::-;;;;;;;;;:::i;2050:334::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2894:52;;;;;;;1389:101;;;:::i;1286:97::-;;;:::i;3626:73::-;;;:::i;:::-;;;;;;;;1609:111;;;:::i;2689:166::-;;;;;;;;;:::i;3265:52::-;;;;;;;3725:72;;;:::i;:::-;;;;;;;;989:140;;;;;;;;;:::i;3802:69::-;;;:::i;862:121::-;;;:::i;3557:64::-;;;;;;;3399:63;;;:::i;:::-;;;;;;;;1135:145;;;:::i;1496:107::-;1564:32;;;;;;;;;;;;;;;;;;;3056:63;;:::o;2451:84::-;2512:10;2501:27;;;2524:3;2501:27;;;;;;;;;;;;;;;2451:84;:::o;2050:334::-;2161:21;2198:19;:56;;;;;;;;;;;;;;;;;;;2264:20;2314:6;2322:4;2297:30;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2297:30:0;;;2287:41;;;;;;2264:64;;2345:32;2355:12;2369:1;2372;2375;2345:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;2345:32:0;;;;;;2050:334;-1:-1:-1;;;;;;;;2050:334:0:o;1389:101::-;1469:13;;;;;;;;;;;;;;;;1462:21;;;;;;;1469:13;1462:21;;;;1286:97;1353:23;;;;;;;;;;;3626:73;3676:19;;:::i;:::-;3626:73;:::o;1609:111::-;1698:14;;;;;;;;;;;;;;;;1683:30;;;;;;;1698:14;1683:30;;;;2689:166;-1:-1:-1;2847:1:0;;2689:166;-1:-1:-1;;;2689:166:0:o;3725:72::-;3765:4;3780:14;;3793:1;3780:14;;;;;3725:72;:::o;989:140::-;1117:1;:5;;989:140::o;3802:69::-;3854:9;:14;;3867:1;3854:14;;;3802:69::o;862:121::-;975:1;862:121;:::o;3399:63::-;3443:15;;:::i;1135:145::-;711:4;1135:145;:::o;641:3232::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::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;20177:18;20169:6;20166:30;20163:2;;;-1:-1;;20199:12;20163:2;20244:4;353:81;20307:4;20244;20236:6;20232:17;20297: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;20784:18;20776:6;20773:30;20770:2;;;-1:-1;;20806:12;20770:2;1880:60;20947:4;20879:9;1796:4;20864:6;20860:17;20856:33;20937:15;1880:60;;;1871:69;;1960:6;1953:5;1946:21;2064:3;20947:4;2055:6;1988;2046:16;;2043:25;2040:2;;;2081:1;;2071:12;2040:2;23898:6;20947:4;1988:6;1984:17;20947:4;2022:5;2018:16;23875:30;23954:1;23936:16;;;20947:4;23936:16;23929:27;2022:5;1763:375;-1:-1;;1763:375;3796:1071;;3904:4;3892:9;3887:3;3883:19;3879:30;3876:2;;;-1:-1;;3912:12;3876:2;3940:20;3904:4;3940:20;;;3931:29;;4043:1;4028:17;4015:31;4066:18;;4058:6;4055:30;4052:2;;;4098:1;4095;4088:12;4052:2;4132:54;4182:3;4173:6;4162:9;4158:22;4132:54;;;4115:15;4108:79;4253:2;4310:9;4306:22;6191:20;6182:29;;23705:10;24890:5;23694:22;24866:5;24863:34;24853:2;;24911:1;24908;24901:12;24853:2;4286:48;4253:2;4272:5;4268:16;4261:74;4440:2;4429:9;4425:18;4412:32;4398:46;;4464:18;4456:6;4453:30;4450:2;;;4496:1;4493;4486:12;4450:2;4531:75;4602:3;4593:6;4582:9;4578:22;4531:75;;;4440:2;4517:5;4513:16;4506:101;4699:2;4688:9;4684:18;4671:32;4657:46;;4723:18;4715:6;4712:30;4709:2;;;4755:1;4752;4745:12;4709:2;;4790:55;4841:3;4832:6;4821:9;4817:22;4790:55;;;4699:2;4776:5;4772:16;4765:81;;;3870:997;;;;;6393:743;;;;;;6565:3;6553:9;6544:7;6540:23;6536:33;6533:2;;;-1:-1;;6572:12;6533:2;85:6;72:20;97:33;124:5;97:33;;;6624:63;-1:-1;6724:2;6763:22;;6055:20;;-1:-1;6832:2;6871:22;;6055:20;;-1:-1;6940:2;6979:22;;72:20;97:33;72:20;97:33;;;6527:609;;;;-1:-1;6527:609;;7048:3;7088:22;6055:20;;6527:609;-1:-1;;6527:609;7143:387;;7277:2;7265:9;7256:7;7252:23;7248:32;7245:2;;;-1:-1;;7283:12;7245:2;7341:17;7328:31;7379:18;7371:6;7368:30;7365:2;;;-1:-1;;7401:12;7365:2;7431:83;7506:7;7497:6;7486:9;7482:22;7431:83;;;7421:93;7239:291;-1:-1;;;;7239:291;7537:613;;;;;7690:3;7678:9;7669:7;7665:23;7661:33;7658:2;;;-1:-1;;7697:12;7658:2;1648:6;1635:20;7749:63;;7849:2;7890:9;7886:22;6325:20;23799:4;25010:5;23788:16;24987:5;24984:33;24974:2;;-1:-1;;25021:12;24974:2;7652:498;;7857:61;;-1:-1;;;;7955:2;7994:22;;1635:20;;8063:2;8102:22;1635:20;;7652:498;8157:345;;8270:2;8258:9;8249:7;8245:23;8241:32;8238:2;;;-1:-1;;8276:12;8238:2;8334:17;8321:31;8372:18;8364:6;8361:30;8358:2;;;-1:-1;;8394:12;8358:2;8424:62;8478:7;8469:6;8458:9;8454:22;8424:62;;8509:385;;8642:2;8630:9;8621:7;8617:23;8613:32;8610:2;;;8658:1;8655;8648:12;8610:2;8706:17;8693:31;8744:18;;8736:6;8733:30;8730:2;;;8776:1;8773;8766:12;8730:2;8861:6;8850:9;8846:22;3194:4;3182:9;3177:3;3173:19;3169:30;3166:2;;;3212:1;3209;3202:12;3166:2;3230:20;3194:4;3230:20;;;3221:29;;3320:17;3307:31;3358:18;3350:6;3347:30;3344:2;;;3390:1;3387;3380:12;3344:2;3424:68;3488:3;3479:6;3468:9;3464:22;3424:68;;;3407:15;3400:93;;8642:2;3578:9;3574:18;3561:32;3613:18;3605:6;3602:30;3599:2;;;3645:1;3642;3635:12;3599:2;3680:55;3731:3;3722:6;3711:9;3707:22;3680:55;;;8642:2;3662:16;;3655:81;-1:-1;3666:5;;8604:290;-1:-1;;;;;8604:290;8901:373;;9028:2;9016:9;9007:7;9003:23;8999:32;8996:2;;;-1:-1;;9034:12;8996:2;9092:17;9079:31;9130:18;9122:6;9119:30;9116:2;;;-1:-1;;9152:12;9116:2;9182:76;9250:7;9241:6;9230:9;9226:22;9182:76;;9281:241;;9385:2;9373:9;9364:7;9360:23;9356:32;9353:2;;;-1:-1;;9391:12;9353:2;-1:-1;6055:20;;9347:175;-1:-1;9347:175;11364:315;;11488:5;21885:12;22545:6;22540:3;22533:19;11571:52;11616:6;22582:4;22577:3;22573:14;22582:4;11597:5;11593:16;11571:52;;;24416:2;24396:14;24412:7;24392:28;11635:39;;;;22582:4;11635:39;;11440:239;-1:-1;;11440:239;13930:1078;;14154:15;14148:22;14077:4;14190:13;14183:37;14235:67;14077:4;14072:3;14068:14;14283:12;14235:67;;;14392:4;;;23705:10;14392:4;14385:5;14381:16;14375:23;23694:22;14459:4;14454:3;14450:14;16326:36;14560:4;14553:5;14549:16;14543:23;14612:3;14606:4;14602:14;14560:4;14590:3;14586:14;14579:38;14632:109;10052:5;21885:12;22545:6;22540:3;22533:19;22582:4;22577:3;22573:14;10064:88;;14392:4;10217;10209:6;10205:17;22577:3;10196:27;;21747:4;10295:5;21738:14;-1:-1;10340:10;;10334:341;10359:6;10356:1;10353:13;10334:341;;;10411:20;22577:3;10415:4;10411:20;;10406:3;10399:33;9641:60;9697:3;10466:6;10460:13;9641:60;;;10381:1;10374:9;;;;;10654:14;;;;10480:82;-1:-1;22393:14;;10334:341;;;10338:14;14829:4;14822:5;14818:16;14812:23;14792:43;;14881:3;14875:4;14871:14;14829:4;14859:3;14855:14;14848:38;14901:69;14965:4;14951:12;14901:69;;;14992:11;14050:958;-1:-1;;;;;;;;;14050:958;16488:401;;11161:5;21885:12;11272:52;11317:6;11312:3;11305:4;11298:5;11294:16;11272:52;;;11336:16;;;;10793:37;;;-1:-1;11305:4;16852:12;;16641:248;-1:-1;16641:248;16896:213;23499:42;23488:54;;;;9786:37;;17014:2;16999:18;;16985:124;17116:539;10793:37;;;23799:4;23788:16;;;;17475:2;17460:18;;16441:35;17558:2;17543:18;;10793:37;17641:2;17626:18;;10793:37;17314:3;17299:19;;17285:370;17662:293;;17796:2;17817:17;17810:47;17871:74;17796:2;17785:9;17781:18;17931:6;17871:74;;;17863:82;17767:188;-1:-1;;;17767:188;17962:407;18153:2;18167:47;;;12583:2;18138:18;;;22533:19;12619:66;22573:14;;;12599:87;12705:12;;;18124:245;18376:407;18567:2;18581:47;;;12956:2;18552:18;;;22533:19;12992:66;22573:14;;;12972:87;13078:12;;;18538:245;18790:377;;18966:2;18987:17;18980:47;13415:15;13409:22;13336:4;18966:2;18955:9;18951:18;13444:37;13496:95;13327:14;18955:9;13327:14;13572:12;13496:95;;;18966:2;13676:5;13672:16;13666:23;13646:43;;13725:14;18955:9;13729:4;13725:14;;13336:4;18955:9;13709:14;13702:38;13755:69;13819:4;13805:12;13755:69;;;19033:124;18937:230;-1:-1;;;;;18937:230;19174:353;;19338:2;19359:17;19352:47;19413:104;19338:2;19327:9;19323:18;19503:6;19413:104;;19534:213;10793:37;;;19652:2;19637:18;;19623:124;19754:256;19816:2;19810:9;19842:17;;;19917:18;19902:34;;19938:22;;;19899:62;19896:2;;;19974:1;;19964:12;19896:2;19816;19983:22;19794:216;;-1:-1;19794:216;23971:268;24036:1;24043:101;24057:6;24054:1;24051:13;24043:101;;;24124:11;;;24118:18;24105:11;;;24098:39;24079:2;24072:10;24043:101;;;24159:6;24156:1;24153:13;24150:2;;;24036:1;24215:6;24210:3;24206:16;24199:27;24150:2;;24020:219;;;;24433:117;23499:42;24520:5;23488:54;24495:5;24492:35;24482:2;;24541:1;;24531:12" } } }, @@ -430,9 +440,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 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\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" + "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\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\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" }, - "sourceTreeHashHex": "0xaeec8bc1cd7fb6274f7bf4e0ea5117961795285e57c882a62c375e14f59f1bab", + "sourceTreeHashHex": "0xfd10020593f5d005966957ef5ddd68b4d0abd856cdad06d786df73e11b4dabc9", "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 4531338200..205fe050b6 100644 --- a/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol +++ b/packages/abi-gen/test-cli/fixtures/contracts/AbiGenDummy.sol @@ -80,6 +80,13 @@ contract AbiGenDummy require(0 > 1, REQUIRE_REASON); } + /// @dev test that devdocs will be generated and + /// that multiline devdocs will look okay + /// @param hash description of some hash + /// @param v some v, recovery id + /// @param r ECDSA r output + /// @param s ECDSA s output + /// @return the signerAddress that created this signature function ecrecoverFn(bytes32 hash, uint8 v, bytes32 r, bytes32 s) public pure