Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    anonymous: false;
    inputs: readonly [];
    name: "FinishSetup";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "account";
        type: "address";
    }, {
        indexed: false;
        internalType: "address";
        name: "fromAsset";
        type: "address";
    }, {
        indexed: false;
        internalType: "address";
        name: "toAsset";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fromAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "toAmount";
        type: "uint256";
    }];
    name: "LocalSwap";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "fromVault";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "address";
        name: "toAccount";
        type: "address";
    }, {
        indexed: false;
        internalType: "address";
        name: "toAsset";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "toAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fromAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "fromAsset";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint32";
        name: "sourceBlockNumberMod";
        type: "uint32";
    }];
    name: "ReceiveAsset";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "fromVault";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "address";
        name: "toAccount";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "toAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fromAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "sourceBlockNumberMod";
        type: "uint256";
    }];
    name: "ReceiveLiquidity";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toVault";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "address";
        name: "fromAsset";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint8";
        name: "toAssetIndex";
        type: "uint8";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fromAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "minOut";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fee";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint16";
        name: "underwriteIncentiveX16";
        type: "uint16";
    }];
    name: "SendAsset";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "escrowAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "address";
        name: "escrowToken";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint32";
        name: "blockNumberMod";
        type: "uint32";
    }];
    name: "SendAssetFailure";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "escrowAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "address";
        name: "escrowToken";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint32";
        name: "blockNumberMod";
        type: "uint32";
    }];
    name: "SendAssetSuccess";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toVault";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "fromAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256[2]";
        name: "minOut";
        type: "uint256[2]";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }];
    name: "SendLiquidity";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "escrowAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint32";
        name: "blockNumberMod";
        type: "uint32";
    }];
    name: "SendLiquidityFailure";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toAccount";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "units";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "escrowAmount";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint32";
        name: "blockNumberMod";
        type: "uint32";
    }];
    name: "SendLiquiditySuccess";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "uint48";
        name: "targetTime";
        type: "uint48";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "targetAmplification";
        type: "uint256";
    }];
    name: "SetAmplification";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "bytes32";
        name: "channelId";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "bytes";
        name: "toVault";
        type: "bytes";
    }, {
        indexed: false;
        internalType: "bool";
        name: "newState";
        type: "bool";
    }];
    name: "SetConnection";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "address";
        name: "administrator";
        type: "address";
    }];
    name: "SetFeeAdministrator";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "uint64";
        name: "fee";
        type: "uint64";
    }];
    name: "SetGovernanceFee";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "uint64";
        name: "fee";
        type: "uint64";
    }];
    name: "SetVaultFee";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "uint248";
        name: "targetTime";
        type: "uint248";
    }, {
        indexed: false;
        internalType: "uint256[]";
        name: "targetWeights";
        type: "uint256[]";
    }];
    name: "SetWeights";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "bytes32";
        name: "identifier";
        type: "bytes32";
    }, {
        indexed: false;
        internalType: "address";
        name: "toAsset";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "U";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "purchasedTokens";
        type: "uint256";
    }];
    name: "SwapUnderwritten";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "toAccount";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "mint";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256[]";
        name: "assets";
        type: "uint256[]";
    }];
    name: "VaultDeposit";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "toAccount";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "burn";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256[]";
        name: "assets";
        type: "uint256[]";
    }];
    name: "VaultWithdraw";
    type: "event";
}] = _abi

Methods