From f1f14d86083513bb217a9739afb8cf7e30a70134 Mon Sep 17 00:00:00 2001 From: Ermyas Abebe Date: Wed, 8 Nov 2023 11:13:10 +1100 Subject: [PATCH] Remove test json --- test/unit/test.json | 1700 ------------------------------------------- 1 file changed, 1700 deletions(-) delete mode 100644 test/unit/test.json diff --git a/test/unit/test.json b/test/unit/test.json deleted file mode 100644 index a5549661..00000000 --- a/test/unit/test.json +++ /dev/null @@ -1,1700 +0,0 @@ -[ - { - "inputs": [], - "name": "AlreadyMapped", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "actualBalance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expectedBalance", - "type": "uint256" - } - ], - "name": "BalanceInvariantCheckFailed", - "type": "error" - }, - { - "inputs": [], - "name": "CantMapETH", - "type": "error" - }, - { - "inputs": [], - "name": "CantMapIMX", - "type": "error" - }, - { - "inputs": [], - "name": "CantMapWETH", - "type": "error" - }, - { - "inputs": [], - "name": "ImxDepositLimitExceeded", - "type": "error" - }, - { - "inputs": [], - "name": "ImxDepositLimitTooLow", - "type": "error" - }, - { - "inputs": [], - "name": "InsufficientValue", - "type": "error" - }, - { - "inputs": [], - "name": "InvalidChildChain", - "type": "error" - }, - { - "inputs": [], - "name": "InvalidChildERC20BridgeAdaptor", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "reason", - "type": "string" - } - ], - "name": "InvalidData", - "type": "error" - }, - { - "inputs": [], - "name": "InvalidSourceAddress", - "type": "error" - }, - { - "inputs": [], - "name": "InvalidSourceChain", - "type": "error" - }, - { - "inputs": [], - "name": "NotBridgeAdaptor", - "type": "error" - }, - { - "inputs": [], - "name": "NotMapped", - "type": "error" - }, - { - "inputs": [], - "name": "ZeroAddress", - "type": "error" - }, - { - "inputs": [], - "name": "ZeroAmount", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "depositor", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "ChildChainERC20Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "depositor", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "IMXDeposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "childToken", - "type": "address" - } - ], - "name": "L1TokenMapped", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "depositor", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "NativeEthDeposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldImxDepositLimit", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newImxDepositLimit", - "type": "uint256" - } - ], - "name": "NewImxDepositLimit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "oldRootBridgeAdaptor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "newRootBridgeAdaptor", - "type": "address" - } - ], - "name": "NewRootBridgeAdaptor", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "withdrawer", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "RootChainERC20Withdraw", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "depositor", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "WETHDeposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MAP_TOKEN_SIG", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "WITHDRAW_SIG", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "contract RootERC20Bridge", - "name": "rootBridge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "mapTokenFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "depositFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "tokenAmount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "bool", - "name": "saveTokenMapping", - "type": "bool" - } - ], - "name": "_setupDeposit", - "outputs": [ - { - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "internalType": "bytes", - "name": "predictedPayload", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "axelarGasService", - "outputs": [ - { - "internalType": "contract MockAxelarGasService", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "childIntegrationSetup", - "outputs": [ - { - "internalType": "contract ChildERC20Bridge", - "name": "childBridge", - "type": "address" - }, - { - "internalType": "contract ChildAxelarBridgeAdaptor", - "name": "childBridgeAdaptor", - "type": "address" - }, - { - "internalType": "address", - "name": "rootToken", - "type": "address" - }, - { - "internalType": "address", - "name": "rootIMX", - "type": "address" - }, - { - "internalType": "contract ChildERC20", - "name": "childTokenTemplate", - "type": "address" - }, - { - "internalType": "contract MockAxelarGasService", - "name": "axelarGasService", - "type": "address" - }, - { - "internalType": "contract MockAxelarGateway", - "name": "mockAxelarGateway", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "excludeArtifacts", - "outputs": [ - { - "internalType": "string[]", - "name": "excludedArtifacts_", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "excludeContracts", - "outputs": [ - { - "internalType": "address[]", - "name": "excludedContracts_", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "excludeSenders", - "outputs": [ - { - "internalType": "address[]", - "name": "excludedSenders_", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "key", - "type": "address" - }, - { - "internalType": "uint256", - "name": "position", - "type": "uint256" - } - ], - "name": "getMappingStorageSlotFor", - "outputs": [ - { - "internalType": "bytes32", - "name": "slot", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "mockAxelarAdaptor", - "outputs": [ - { - "internalType": "contract MockAdaptor", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "mockAxelarGateway", - "outputs": [ - { - "internalType": "contract MockAxelarGateway", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "rootBridge", - "outputs": [ - { - "internalType": "contract RootERC20Bridge", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "childBridge", - "type": "address" - }, - { - "internalType": "address", - "name": "childBridgeAdaptor", - "type": "address" - }, - { - "internalType": "string", - "name": "childBridgeName", - "type": "string" - }, - { - "internalType": "address", - "name": "imxTokenAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "wethTokenAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "imxCumulativeDepositLimit", - "type": "uint256" - } - ], - "name": "rootIntegrationSetup", - "outputs": [ - { - "internalType": "contract ERC20PresetMinterPauser", - "name": "imxToken", - "type": "address" - }, - { - "internalType": "contract ERC20PresetMinterPauser", - "name": "token", - "type": "address" - }, - { - "internalType": "contract RootERC20Bridge", - "name": "rootBridge", - "type": "address" - }, - { - "internalType": "contract RootAxelarBridgeAdaptor", - "name": "axelarAdaptor", - "type": "address" - }, - { - "internalType": "contract MockAxelarGateway", - "name": "mockAxelarGateway", - "type": "address" - }, - { - "internalType": "contract MockAxelarGasService", - "name": "axelarGasService", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "setUp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract ChildERC20", - "name": "token", - "type": "address" - }, - { - "internalType": "contract ChildERC20Bridge", - "name": "childBridge", - "type": "address" - }, - { - "internalType": "string", - "name": "sourceChain", - "type": "string" - }, - { - "internalType": "string", - "name": "sourceAddress", - "type": "string" - } - ], - "name": "setupChildDeposit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "contract RootERC20Bridge", - "name": "rootBridge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "mapTokenFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "depositFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "tokenAmount", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "saveTokenMapping", - "type": "bool" - } - ], - "name": "setupDeposit", - "outputs": [ - { - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "internalType": "bytes", - "name": "predictedPayload", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "contract RootERC20Bridge", - "name": "rootBridge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "mapTokenFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "depositFee", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "tokenAmount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "bool", - "name": "saveTokenMapping", - "type": "bool" - } - ], - "name": "setupDepositTo", - "outputs": [ - { - "internalType": "address", - "name": "childToken", - "type": "address" - }, - { - "internalType": "bytes", - "name": "predictedPayload", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "targetArtifactSelectors", - "outputs": [ - { - "components": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "internalType": "bytes4[]", - "name": "selectors", - "type": "bytes4[]" - } - ], - "internalType": "struct StdInvariant.FuzzSelector[]", - "name": "targetedArtifactSelectors_", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "targetArtifacts", - "outputs": [ - { - "internalType": "string[]", - "name": "targetedArtifacts_", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "targetContracts", - "outputs": [ - { - "internalType": "address[]", - "name": "targetedContracts_", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "targetInterfaces", - "outputs": [ - { - "components": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "internalType": "string[]", - "name": "artifacts", - "type": "string[]" - } - ], - "internalType": "struct StdInvariant.FuzzInterface[]", - "name": "targetedInterfaces_", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "targetSelectors", - "outputs": [ - { - "components": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "internalType": "bytes4[]", - "name": "selectors", - "type": "bytes4[]" - } - ], - "internalType": "struct StdInvariant.FuzzSelector[]", - "name": "targetedSelectors_", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "targetSenders", - "outputs": [ - { - "internalType": "address[]", - "name": "targetedSenders_", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_mapTokenFee", - "type": "uint256" - } - ], - "name": "testFuzz_mapToken_UpdatesEthBalance", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_InitializeBridge", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIfInitializeTwice", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressChildBridge", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressIMXToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressRootAdapter", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressTokenTemplate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithAZeroAddressWETHToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithEmptyChildAdapter", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_InitializeWithEmptyChildName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositAmountIsZero", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositCalledWhenTokenApprovalNotProvided", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositCalledWithUnmappedToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositCalledWithZeroAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositETHAmountIsZero", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositETHInsufficientValue", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToAmountIsZero", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToCalledWhenTokenApprovalNotProvided", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToCalledWithUnmappedToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToCalledWithZeroAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToETHAmountIsZero", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_depositToETHInsufficientValue", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_mapTokenCalledTwice", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_mapTokenCalledWithETHAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_mapTokenCalledWithIMXAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_mapTokenCalledWithZeroAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_updateRootBridgeAdaptorCalledByNonOwner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertIf_updateRootBridgeAdaptorCalledWithZeroAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertsIf_IMXDepositLimitExceeded", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_RevertsIf_IMXDepositLimitTooLow", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositCallsSendMessage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositETHCallsSendMessage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositETHEmitsNativeEthDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositEmitsChildChainERC20DepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositIMXEmitsIMXDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToCallsSendMessage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToETHCallsSendMessage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToETHEmitsNativeEthDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToEmitsChildChainERC20DepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToIMXEmitsIMXDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToTransfersNativeAsset", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToTransfersTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToWETHEmitsWETHDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositToWETHTransfersTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositTransfersNativeAsset", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositTransfersTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositWETHCallsSendMessage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositWETHEmitsNativeDepositEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_depositWETHTransfersTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_deposit_whenSettingImxDepositLimitToUnlimited", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_mapToken_CallsAdaptor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_mapToken_EmitsTokenMappedEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_mapToken_SetsTokenMapping", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_updateRootBridgeAdaptor_EmitsNewRootBridgeAdaptorEvent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "test_updateRootBridgeAdaptor_UpdatesRootBridgeAdaptor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "contract ERC20PresetMinterPauser", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } -]