From 4d8d944fe5dde669237468566ad9cd5146f2fc93 Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Thu, 23 Apr 2020 12:24:44 -0400 Subject: [PATCH] `@0x/contracts-utils`: Update package.json --- contracts/utils/package.json | 2 +- contracts/utils/test/artifacts.ts | 8 ++++++++ contracts/utils/test/wrappers.ts | 4 ++++ contracts/utils/tsconfig.json | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/contracts/utils/package.json b/contracts/utils/package.json index fbcfa5b54a..82b0598976 100644 --- a/contracts/utils/package.json +++ b/contracts/utils/package.json @@ -38,7 +38,7 @@ "config": { "publicInterfaceContracts": "Authorizable,IAuthorizable,IOwnable,LibAddress,LibAddressArray,LibAddressArrayRichErrors,LibAuthorizableRichErrors,LibBytes,LibBytesRichErrors,LibEIP1271,LibEIP712,LibFractions,LibOwnableRichErrors,LibReentrancyGuardRichErrors,LibRichErrors,LibSafeMath,LibSafeMathRichErrors,Ownable,ReentrancyGuard,Refundable", "abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually.", - "abis": "./test/generated-artifacts/@(Authorizable|D18|DeploymentConstants|IAuthorizable|IOwnable|LibAddress|LibAddressArray|LibAddressArrayRichErrors|LibAuthorizableRichErrors|LibBytes|LibBytesRichErrors|LibEIP1271|LibEIP712|LibFractions|LibOwnableRichErrors|LibReentrancyGuardRichErrors|LibRichErrors|LibSafeMath|LibSafeMathRichErrors|Ownable|ReentrancyGuard|Refundable|TestAuthorizable|TestLibAddress|TestLibAddressArray|TestLibBytes|TestLibEIP712|TestLibRichErrors|TestLibSafeMath|TestLogDecoding|TestLogDecodingDownstream|TestOwnable|TestReentrancyGuard|TestRefundable|TestRefundableReceiver).json" + "abis": "./test/generated-artifacts/@(Authorizable|D18|DeploymentConstants|IAuthorizable|IOwnable|IOwnableV06|LibAddress|LibAddressArray|LibAddressArrayRichErrors|LibAuthorizableRichErrors|LibBytes|LibBytesRichErrors|LibBytesRichErrorsV06|LibBytesV06|LibEIP1271|LibEIP712|LibFractions|LibOwnableRichErrors|LibReentrancyGuardRichErrors|LibRichErrors|LibRichErrorsV06|LibSafeMath|LibSafeMathRichErrors|Ownable|ReentrancyGuard|Refundable|TestAuthorizable|TestLibAddress|TestLibAddressArray|TestLibBytes|TestLibEIP712|TestLibRichErrors|TestLibSafeMath|TestLogDecoding|TestLogDecodingDownstream|TestOwnable|TestReentrancyGuard|TestRefundable|TestRefundableReceiver).json" }, "repository": { "type": "git", diff --git a/contracts/utils/test/artifacts.ts b/contracts/utils/test/artifacts.ts index 72ee0e9bd8..da80487346 100644 --- a/contracts/utils/test/artifacts.ts +++ b/contracts/utils/test/artifacts.ts @@ -10,18 +10,22 @@ 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 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 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 LibOwnableRichErrors from '../test/generated-artifacts/LibOwnableRichErrors.json'; import * as LibReentrancyGuardRichErrors from '../test/generated-artifacts/LibReentrancyGuardRichErrors.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 Ownable from '../test/generated-artifacts/Ownable.json'; @@ -63,6 +67,10 @@ export const artifacts = { Refundable: Refundable as ContractArtifact, IAuthorizable: IAuthorizable as ContractArtifact, IOwnable: IOwnable as ContractArtifact, + LibBytesV06: LibBytesV06 as ContractArtifact, + LibBytesRichErrorsV06: LibBytesRichErrorsV06 as ContractArtifact, + LibRichErrorsV06: LibRichErrorsV06 as ContractArtifact, + IOwnableV06: IOwnableV06 as ContractArtifact, TestAuthorizable: TestAuthorizable as ContractArtifact, TestLibAddress: TestLibAddress as ContractArtifact, TestLibAddressArray: TestLibAddressArray as ContractArtifact, diff --git a/contracts/utils/test/wrappers.ts b/contracts/utils/test/wrappers.ts index 84cff62060..560d1cb6ed 100644 --- a/contracts/utils/test/wrappers.ts +++ b/contracts/utils/test/wrappers.ts @@ -8,18 +8,22 @@ export * from '../test/generated-wrappers/d18'; export * from '../test/generated-wrappers/deployment_constants'; export * from '../test/generated-wrappers/i_authorizable'; export * from '../test/generated-wrappers/i_ownable'; +export * from '../test/generated-wrappers/i_ownable_v06'; export * from '../test/generated-wrappers/lib_address'; export * from '../test/generated-wrappers/lib_address_array'; export * from '../test/generated-wrappers/lib_address_array_rich_errors'; export * from '../test/generated-wrappers/lib_authorizable_rich_errors'; export * from '../test/generated-wrappers/lib_bytes'; export * from '../test/generated-wrappers/lib_bytes_rich_errors'; +export * from '../test/generated-wrappers/lib_bytes_rich_errors_v06'; +export * from '../test/generated-wrappers/lib_bytes_v06'; export * from '../test/generated-wrappers/lib_e_i_p1271'; export * from '../test/generated-wrappers/lib_e_i_p712'; export * from '../test/generated-wrappers/lib_fractions'; export * from '../test/generated-wrappers/lib_ownable_rich_errors'; export * from '../test/generated-wrappers/lib_reentrancy_guard_rich_errors'; export * from '../test/generated-wrappers/lib_rich_errors'; +export * from '../test/generated-wrappers/lib_rich_errors_v06'; export * from '../test/generated-wrappers/lib_safe_math'; export * from '../test/generated-wrappers/lib_safe_math_rich_errors'; export * from '../test/generated-wrappers/ownable'; diff --git a/contracts/utils/tsconfig.json b/contracts/utils/tsconfig.json index eb3bc22db0..eb0de257b0 100644 --- a/contracts/utils/tsconfig.json +++ b/contracts/utils/tsconfig.json @@ -28,18 +28,22 @@ "test/generated-artifacts/DeploymentConstants.json", "test/generated-artifacts/IAuthorizable.json", "test/generated-artifacts/IOwnable.json", + "test/generated-artifacts/IOwnableV06.json", "test/generated-artifacts/LibAddress.json", "test/generated-artifacts/LibAddressArray.json", "test/generated-artifacts/LibAddressArrayRichErrors.json", "test/generated-artifacts/LibAuthorizableRichErrors.json", "test/generated-artifacts/LibBytes.json", "test/generated-artifacts/LibBytesRichErrors.json", + "test/generated-artifacts/LibBytesRichErrorsV06.json", + "test/generated-artifacts/LibBytesV06.json", "test/generated-artifacts/LibEIP1271.json", "test/generated-artifacts/LibEIP712.json", "test/generated-artifacts/LibFractions.json", "test/generated-artifacts/LibOwnableRichErrors.json", "test/generated-artifacts/LibReentrancyGuardRichErrors.json", "test/generated-artifacts/LibRichErrors.json", + "test/generated-artifacts/LibRichErrorsV06.json", "test/generated-artifacts/LibSafeMath.json", "test/generated-artifacts/LibSafeMathRichErrors.json", "test/generated-artifacts/Ownable.json",