import { ethers } from 'ethers' ; export const abi = new ethers . utils . AbiCoder ( ) ; export const transferAbiTypes = [ 'address' , 'address' , 'uint' , 'uint32' , ] ; export const swapAbiTypes = [ 'address' , 'uint' , 'uint32' , 'uint32' , 'uint' , ] ; export const signedTransactionAbiTypes = [ 'bytes' , 'bytes' , ] ; export const swapTransitionAbiTypes = [ 'bytes32' , 'uint32' , 'uint32' , 'uint' , 'uint32' , 'uint32' , 'uint' , 'bytes' , ] ; export const transferTransitionAbiTypes = [ 'bytes32' , 'uint32' , 'uint32' , 'uint' , 'uint32' , 'bytes' , ] ; export const createAndTransferTransitionAbiTypes = [ 'bytes32' , 'uint32' , 'uint32' , 'address' , 'uint' , 'uint32' , 'bytes' , ] ; export const stateAbiTypes = [ 'address' , 'uint32' , 'uint32' , ] ; export const stateReceiptAbiTypes = [ 'bytes32' , 'uint' , 'uint' , 'uint32' , 'bytes32[]' , 'bytes' , ] ;