* `@0x/contracts-utils`: Convert more 0.6 contracts * `@0x/contracts-erc20`: Add solidity 0.6 contracts. * `@0x/utils`: Add new `ZeroExRevertErrors` revert types * `@0x/contracts-zero-ex`: Introduce the `TransformERC20` feature. * `@0x/subproviders`: Update ganache-core. `@0x/web3-wrapper`: Update ganache-core. * `@0x/contracts-zero-ex`: Make `TokenSpender`'s puppet contract a distinct contract type and rename `getTokenSpenderPuppet()` to `getAllowanceTarget()` * `@0x/zero-ex`: Rebase and use "slot" instead of "offset" language in storage buckets. * `@0x/web3-wrapper`: Add `getAccountNonceAsync()` to `Web3Wrapper` * `@0x/contracts-zero-ex`: Revamp TransformERC20. * `@0x/contracts-zero-ex`: Remove `payable` from `IERC20Transformer.transform()` and disable hex capitalization linter rule because of prettier conflicts. * `@0x/contracts-zero-ex`: Use `immutable` owner in `Puppet` instead of `Ownable`. * `@x/utils`: Address review feedback. * `@0x/contracts-zero-ex`: Address review feedback. * `@0x/contracts-utils`: Address review feedback. * `@0x/contracts-zero-ex`: Return deployment nonce in `transform()`. * `@0x/contracts-zero-ex`: Finish returning deployment nonce in `transform()`. * `@0x/contracts-zero-ex`: Fix doc-gen bug. * `@0x/contracts-zero-ex`: Address review comments. * `@0x/utils`: Add `NegativeTransformERC20OutputERror` * `@0x/contracts-zero-ex`: Revert if the taker's output amount decreases. Co-authored-by: Lawrence Forman <me@merklejerk.com>
		
			
				
	
	
		
			110 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			110 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/*
 | 
						|
 * -----------------------------------------------------------------------------
 | 
						|
 * Warning: This file is auto-generated by contracts-gen. Don't edit manually.
 | 
						|
 * -----------------------------------------------------------------------------
 | 
						|
 */
 | 
						|
import { ContractArtifact } from 'ethereum-types';
 | 
						|
 | 
						|
import * as Authorizable from '../test/generated-artifacts/Authorizable.json';
 | 
						|
import * as AuthorizableV06 from '../test/generated-artifacts/AuthorizableV06.json';
 | 
						|
import * as D18 from '../test/generated-artifacts/D18.json';
 | 
						|
import * as DeploymentConstants from '../test/generated-artifacts/DeploymentConstants.json';
 | 
						|
import * as IAuthorizable from '../test/generated-artifacts/IAuthorizable.json';
 | 
						|
import * as IAuthorizableV06 from '../test/generated-artifacts/IAuthorizableV06.json';
 | 
						|
import * as IOwnable from '../test/generated-artifacts/IOwnable.json';
 | 
						|
import * as IOwnableV06 from '../test/generated-artifacts/IOwnableV06.json';
 | 
						|
import * as LibAddress from '../test/generated-artifacts/LibAddress.json';
 | 
						|
import * as LibAddressArray from '../test/generated-artifacts/LibAddressArray.json';
 | 
						|
import * as LibAddressArrayRichErrors from '../test/generated-artifacts/LibAddressArrayRichErrors.json';
 | 
						|
import * as LibAuthorizableRichErrors from '../test/generated-artifacts/LibAuthorizableRichErrors.json';
 | 
						|
import * as LibAuthorizableRichErrorsV06 from '../test/generated-artifacts/LibAuthorizableRichErrorsV06.json';
 | 
						|
import * as LibBytes from '../test/generated-artifacts/LibBytes.json';
 | 
						|
import * as LibBytesRichErrors from '../test/generated-artifacts/LibBytesRichErrors.json';
 | 
						|
import * as LibBytesRichErrorsV06 from '../test/generated-artifacts/LibBytesRichErrorsV06.json';
 | 
						|
import * as LibBytesV06 from '../test/generated-artifacts/LibBytesV06.json';
 | 
						|
import * as LibEIP1271 from '../test/generated-artifacts/LibEIP1271.json';
 | 
						|
import * as LibEIP712 from '../test/generated-artifacts/LibEIP712.json';
 | 
						|
import * as LibFractions from '../test/generated-artifacts/LibFractions.json';
 | 
						|
import * as LibMathRichErrorsV06 from '../test/generated-artifacts/LibMathRichErrorsV06.json';
 | 
						|
import * as LibMathV06 from '../test/generated-artifacts/LibMathV06.json';
 | 
						|
import * as LibOwnableRichErrors from '../test/generated-artifacts/LibOwnableRichErrors.json';
 | 
						|
import * as LibOwnableRichErrorsV06 from '../test/generated-artifacts/LibOwnableRichErrorsV06.json';
 | 
						|
import * as LibReentrancyGuardRichErrors from '../test/generated-artifacts/LibReentrancyGuardRichErrors.json';
 | 
						|
import * as LibReentrancyGuardRichErrorsV06 from '../test/generated-artifacts/LibReentrancyGuardRichErrorsV06.json';
 | 
						|
import * as LibRichErrors from '../test/generated-artifacts/LibRichErrors.json';
 | 
						|
import * as LibRichErrorsV06 from '../test/generated-artifacts/LibRichErrorsV06.json';
 | 
						|
import * as LibSafeMath from '../test/generated-artifacts/LibSafeMath.json';
 | 
						|
import * as LibSafeMathRichErrors from '../test/generated-artifacts/LibSafeMathRichErrors.json';
 | 
						|
import * as LibSafeMathRichErrorsV06 from '../test/generated-artifacts/LibSafeMathRichErrorsV06.json';
 | 
						|
import * as LibSafeMathV06 from '../test/generated-artifacts/LibSafeMathV06.json';
 | 
						|
import * as Ownable from '../test/generated-artifacts/Ownable.json';
 | 
						|
import * as OwnableV06 from '../test/generated-artifacts/OwnableV06.json';
 | 
						|
import * as ReentrancyGuard from '../test/generated-artifacts/ReentrancyGuard.json';
 | 
						|
import * as ReentrancyGuardV06 from '../test/generated-artifacts/ReentrancyGuardV06.json';
 | 
						|
import * as Refundable from '../test/generated-artifacts/Refundable.json';
 | 
						|
import * as TestAuthorizable from '../test/generated-artifacts/TestAuthorizable.json';
 | 
						|
import * as TestLibAddress from '../test/generated-artifacts/TestLibAddress.json';
 | 
						|
import * as TestLibAddressArray from '../test/generated-artifacts/TestLibAddressArray.json';
 | 
						|
import * as TestLibBytes from '../test/generated-artifacts/TestLibBytes.json';
 | 
						|
import * as TestLibEIP712 from '../test/generated-artifacts/TestLibEIP712.json';
 | 
						|
import * as TestLibRichErrors from '../test/generated-artifacts/TestLibRichErrors.json';
 | 
						|
import * as TestLibSafeMath from '../test/generated-artifacts/TestLibSafeMath.json';
 | 
						|
import * as TestLogDecoding from '../test/generated-artifacts/TestLogDecoding.json';
 | 
						|
import * as TestLogDecodingDownstream from '../test/generated-artifacts/TestLogDecodingDownstream.json';
 | 
						|
import * as TestOwnable from '../test/generated-artifacts/TestOwnable.json';
 | 
						|
import * as TestReentrancyGuard from '../test/generated-artifacts/TestReentrancyGuard.json';
 | 
						|
import * as TestRefundable from '../test/generated-artifacts/TestRefundable.json';
 | 
						|
import * as TestRefundableReceiver from '../test/generated-artifacts/TestRefundableReceiver.json';
 | 
						|
export const artifacts = {
 | 
						|
    Authorizable: Authorizable as ContractArtifact,
 | 
						|
    D18: D18 as ContractArtifact,
 | 
						|
    DeploymentConstants: DeploymentConstants as ContractArtifact,
 | 
						|
    LibAddress: LibAddress as ContractArtifact,
 | 
						|
    LibAddressArray: LibAddressArray as ContractArtifact,
 | 
						|
    LibAddressArrayRichErrors: LibAddressArrayRichErrors as ContractArtifact,
 | 
						|
    LibAuthorizableRichErrors: LibAuthorizableRichErrors as ContractArtifact,
 | 
						|
    LibBytes: LibBytes as ContractArtifact,
 | 
						|
    LibBytesRichErrors: LibBytesRichErrors as ContractArtifact,
 | 
						|
    LibEIP1271: LibEIP1271 as ContractArtifact,
 | 
						|
    LibEIP712: LibEIP712 as ContractArtifact,
 | 
						|
    LibFractions: LibFractions as ContractArtifact,
 | 
						|
    LibOwnableRichErrors: LibOwnableRichErrors as ContractArtifact,
 | 
						|
    LibReentrancyGuardRichErrors: LibReentrancyGuardRichErrors as ContractArtifact,
 | 
						|
    LibRichErrors: LibRichErrors as ContractArtifact,
 | 
						|
    LibSafeMath: LibSafeMath as ContractArtifact,
 | 
						|
    LibSafeMathRichErrors: LibSafeMathRichErrors as ContractArtifact,
 | 
						|
    Ownable: Ownable as ContractArtifact,
 | 
						|
    ReentrancyGuard: ReentrancyGuard as ContractArtifact,
 | 
						|
    Refundable: Refundable as ContractArtifact,
 | 
						|
    IAuthorizable: IAuthorizable as ContractArtifact,
 | 
						|
    IOwnable: IOwnable as ContractArtifact,
 | 
						|
    AuthorizableV06: AuthorizableV06 as ContractArtifact,
 | 
						|
    LibBytesV06: LibBytesV06 as ContractArtifact,
 | 
						|
    LibMathV06: LibMathV06 as ContractArtifact,
 | 
						|
    LibSafeMathV06: LibSafeMathV06 as ContractArtifact,
 | 
						|
    OwnableV06: OwnableV06 as ContractArtifact,
 | 
						|
    ReentrancyGuardV06: ReentrancyGuardV06 as ContractArtifact,
 | 
						|
    LibAuthorizableRichErrorsV06: LibAuthorizableRichErrorsV06 as ContractArtifact,
 | 
						|
    LibBytesRichErrorsV06: LibBytesRichErrorsV06 as ContractArtifact,
 | 
						|
    LibMathRichErrorsV06: LibMathRichErrorsV06 as ContractArtifact,
 | 
						|
    LibOwnableRichErrorsV06: LibOwnableRichErrorsV06 as ContractArtifact,
 | 
						|
    LibReentrancyGuardRichErrorsV06: LibReentrancyGuardRichErrorsV06 as ContractArtifact,
 | 
						|
    LibRichErrorsV06: LibRichErrorsV06 as ContractArtifact,
 | 
						|
    LibSafeMathRichErrorsV06: LibSafeMathRichErrorsV06 as ContractArtifact,
 | 
						|
    IAuthorizableV06: IAuthorizableV06 as ContractArtifact,
 | 
						|
    IOwnableV06: IOwnableV06 as ContractArtifact,
 | 
						|
    TestAuthorizable: TestAuthorizable as ContractArtifact,
 | 
						|
    TestLibAddress: TestLibAddress as ContractArtifact,
 | 
						|
    TestLibAddressArray: TestLibAddressArray as ContractArtifact,
 | 
						|
    TestLibBytes: TestLibBytes as ContractArtifact,
 | 
						|
    TestLibEIP712: TestLibEIP712 as ContractArtifact,
 | 
						|
    TestLibRichErrors: TestLibRichErrors as ContractArtifact,
 | 
						|
    TestLibSafeMath: TestLibSafeMath as ContractArtifact,
 | 
						|
    TestLogDecoding: TestLogDecoding as ContractArtifact,
 | 
						|
    TestLogDecodingDownstream: TestLogDecodingDownstream as ContractArtifact,
 | 
						|
    TestOwnable: TestOwnable as ContractArtifact,
 | 
						|
    TestReentrancyGuard: TestReentrancyGuard as ContractArtifact,
 | 
						|
    TestRefundable: TestRefundable as ContractArtifact,
 | 
						|
    TestRefundableReceiver: TestRefundableReceiver as ContractArtifact,
 | 
						|
};
 |