Module brontes_classifier::ClipperExchange
source · Expand description
Generated by the following Solidity interface…
interface ClipperExchange {
struct Signature {
uint8 v;
bytes32 r;
bytes32 s;
}
error ClipperDataValidation();
error ClipperInvariant();
error ClipperTradeHalted();
event Approval(address indexed owner, address indexed spender, uint256 value);
event AssetWithdrawn(address indexed withdrawer, uint256 poolTokens, address indexed assetAddress, uint256 assetAmount);
event Deposited(address indexed depositor, uint256 poolTokens, uint256 nDays);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event Swapped(address indexed inAsset, address indexed outAsset, address indexed recipient, uint256 inAmount, uint256 outAmount, bytes auxiliaryData);
event Transfer(address indexed from, address indexed to, uint256 value);
event TriageAddressChanged(address indexed newAddress);
event Withdrawn(address indexed withdrawer, uint256 poolTokens, uint256 fractionOfPool);
constructor(address theSigner, address theWrapper, address[] tokens);
receive() external payable;
function DESIGNATED_SIGNER() external view returns (address);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function WRAPPER_CONTRACT() external view returns (address);
function addAsset(address token) external;
function allTokensBalance() external view returns (uint256[] memory, address[] memory, uint256);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function balanceOf(address account) external view returns (uint256);
function burnToWithdraw(uint256 amount) external;
function canUnlockDeposit(address theAddress) external view returns (bool);
function decimals() external view returns (uint8);
function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
function deposit(address sender, uint256[] memory depositAmounts, uint256 nDays, uint256 poolTokens, uint256 goodUntil, Signature memory theSignature) external payable;
function depositSingleAsset(address sender, address inputToken, uint256 inputAmount, uint256 nDays, uint256 poolTokens, uint256 goodUntil, Signature memory theSignature) external payable;
function getLastBalance(address token) external view returns (uint256);
function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
function isToken(address token) external view returns (bool);
function isTradeHalted() external view returns (bool);
function lastBalances(address) external view returns (uint256);
function nTokens() external view returns (uint256);
function name() external view returns (string memory);
function nonces(address owner) external view returns (uint256);
function owner() external view returns (address);
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
function renounceOwnership() external;
function resumeTrade() external;
function sellEthForToken(address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature memory theSignature, bytes memory auxiliaryData) external payable;
function sellTokenForEth(address inputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature memory theSignature, bytes memory auxiliaryData) external;
function setTriageRole(address newTriage) external;
function stopTrade() external;
function swap(address inputToken, address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature memory theSignature, bytes memory auxiliaryData) external;
function symbol() external view returns (string memory);
function tokenAt(uint256 i) external view returns (address);
function totalSupply() external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function transferFrom(address from, address to, uint256 amount) external returns (bool);
function transferOwnership(address newOwner) external;
function transmitAndDeposit(uint256[] memory depositAmounts, uint256 nDays, uint256 poolTokens, uint256 goodUntil, Signature memory theSignature) external;
function transmitAndDepositSingleAsset(address inputToken, uint256 inputAmount, uint256 nDays, uint256 poolTokens, uint256 goodUntil, Signature memory theSignature) external;
function transmitAndSellTokenForEth(address inputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature memory theSignature, bytes memory auxiliaryData) external;
function transmitAndSwap(address inputToken, address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature memory theSignature, bytes memory auxiliaryData) external;
function triageRole() external view returns (address);
function unlockDeposit() external returns (uint256 poolTokens);
function vestingDeposits(address) external view returns (uint256 lockedUntil, uint256 poolTokenAmount);
function withdrawSingleAsset(address tokenHolder, uint256 poolTokenAmountToBurn, address assetAddress, uint256 assetAmount, uint256 goodUntil, Signature memory theSignature) external;
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "theSigner",
"type": "address",
"internalType": "address"
},
{
"name": "theWrapper",
"type": "address",
"internalType": "address"
},
{
"name": "tokens",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
},
{
"type": "function",
"name": "DESIGNATED_SIGNER",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "DOMAIN_SEPARATOR",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "WRAPPER_CONTRACT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "addAsset",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "allTokensBalance",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "allowance",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "approve",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "balanceOf",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "burnToWithdraw",
"inputs": [
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "canUnlockDeposit",
"inputs": [
{
"name": "theAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "decimals",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "decreaseAllowance",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "subtractedValue",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "deposit",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "depositAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "nDays",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "poolTokens",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "depositSingleAsset",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nDays",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "poolTokens",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "getLastBalance",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "increaseAllowance",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "addedValue",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "isToken",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isTradeHalted",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "lastBalances",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "nTokens",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "name",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "nonces",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "permit",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "deadline",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "resumeTrade",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "sellEthForToken",
"inputs": [
{
"name": "outputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "destinationAddress",
"type": "address",
"internalType": "address"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "auxiliaryData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "sellTokenForEth",
"inputs": [
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "destinationAddress",
"type": "address",
"internalType": "address"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "auxiliaryData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setTriageRole",
"inputs": [
{
"name": "newTriage",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "stopTrade",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "swap",
"inputs": [
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "outputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "destinationAddress",
"type": "address",
"internalType": "address"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "auxiliaryData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "symbol",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "tokenAt",
"inputs": [
{
"name": "i",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "totalSupply",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "transfer",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferFrom",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transmitAndDeposit",
"inputs": [
{
"name": "depositAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "nDays",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "poolTokens",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transmitAndDepositSingleAsset",
"inputs": [
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nDays",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "poolTokens",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transmitAndSellTokenForEth",
"inputs": [
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "destinationAddress",
"type": "address",
"internalType": "address"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "auxiliaryData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transmitAndSwap",
"inputs": [
{
"name": "inputToken",
"type": "address",
"internalType": "address"
},
{
"name": "outputToken",
"type": "address",
"internalType": "address"
},
{
"name": "inputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outputAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "destinationAddress",
"type": "address",
"internalType": "address"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "auxiliaryData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "triageRole",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "unlockDeposit",
"inputs": [],
"outputs": [
{
"name": "poolTokens",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "vestingDeposits",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "lockedUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "poolTokenAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "withdrawSingleAsset",
"inputs": [
{
"name": "tokenHolder",
"type": "address",
"internalType": "address"
},
{
"name": "poolTokenAmountToBurn",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "assetAddress",
"type": "address",
"internalType": "address"
},
{
"name": "assetAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "goodUntil",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "theSignature",
"type": "tuple",
"internalType": "struct ClipperCommonExchange.Signature",
"components": [
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "Approval",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "AssetWithdrawn",
"inputs": [
{
"name": "withdrawer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "poolTokens",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "assetAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "assetAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Deposited",
"inputs": [
{
"name": "depositor",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "poolTokens",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "nDays",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Swapped",
"inputs": [
{
"name": "inAsset",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "outAsset",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "inAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "outAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "auxiliaryData",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TriageAddressChanged",
"inputs": [
{
"name": "newAddress",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Withdrawn",
"inputs": [
{
"name": "withdrawer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "poolTokens",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "fractionOfPool",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "error",
"name": "ClipperDataValidation",
"inputs": []
},
{
"type": "error",
"name": "ClipperInvariant",
"inputs": []
},
{
"type": "error",
"name": "ClipperTradeHalted",
"inputs": []
}
]
Structs§
- Event with signature
Approval(address,address,uint256)
and selector0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925
. - Event with signature
AssetWithdrawn(address,uint256,address,uint256)
and selector0x41e79959bad1d45680578f8a544fb5af76d72b04090e65a51b4d0eaab959a9ab
. - Custom error with signature
ClipperDataValidation()
and selector0x616876a5
. - Custom error with signature
ClipperInvariant()
and selector0xa899aa13
. - Custom error with signature
ClipperTradeHalted()
and selector0x8148fe06
. - Function with signature
DESIGNATED_SIGNER()
and selector0x8dda8f3f
. - Container type for the return parameters of the
DESIGNATED_SIGNER()
function. - Function with signature
DOMAIN_SEPARATOR()
and selector0x3644e515
. - Container type for the return parameters of the
DOMAIN_SEPARATOR()
function. - Event with signature
Deposited(address,uint256,uint256)
and selector0x73a19dd210f1a7f902193214c0ee91dd35ee5b4d920cba8d519eca65a7b488ca
. - Event with signature
OwnershipTransferred(address,address)
and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
. - Event with signature
Swapped(address,address,address,uint256,uint256,bytes)
and selector0x4be05c8d54f5e056ab2cfa033e9f582057001268c3e28561bb999d35d2c8f2c8
. - Event with signature
Transfer(address,address,uint256)
and selector0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
. - Event with signature
TriageAddressChanged(address)
and selector0x7fb818801719b0f482b3e69a97fd8c5a1bddd186808ae2a83bdf1dac62c550ec
. - Function with signature
WRAPPER_CONTRACT()
and selector0x5aecdda5
. - Container type for the return parameters of the
WRAPPER_CONTRACT()
function. - Event with signature
Withdrawn(address,uint256,uint256)
and selector0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6
. - Function with signature
addAsset(address)
and selector0x298410e5
. - Container type for the return parameters of the
addAsset(address)
function. - Function with signature
allTokensBalance()
and selector0x1dc6f5a5
. - Container type for the return parameters of the
allTokensBalance()
function. - Function with signature
allowance(address,address)
and selector0xdd62ed3e
. - Container type for the return parameters of the
allowance(address,address)
function. - Function with signature
approve(address,uint256)
and selector0x095ea7b3
. - Container type for the return parameters of the
approve(address,uint256)
function. - Function with signature
balanceOf(address)
and selector0x70a08231
. - Container type for the return parameters of the
balanceOf(address)
function. - Function with signature
burnToWithdraw(uint256)
and selector0x368dfc18
. - Container type for the return parameters of the
burnToWithdraw(uint256)
function. - Function with signature
canUnlockDeposit(address)
and selector0xeb1c6453
. - Container type for the return parameters of the
canUnlockDeposit(address)
function. - Constructor`.
- Function with signature
decimals()
and selector0x313ce567
. - Container type for the return parameters of the
decimals()
function. - Function with signature
decreaseAllowance(address,uint256)
and selector0xa457c2d7
. - Container type for the return parameters of the
decreaseAllowance(address,uint256)
function. - Function with signature
deposit(address,uint256[],uint256,uint256,uint256,(uint8,bytes32,bytes32))
and selector0x5250d730
. - Container type for the return parameters of the
deposit(address,uint256[],uint256,uint256,uint256,(uint8,bytes32,bytes32))
function. - Function with signature
depositSingleAsset(address,address,uint256,uint256,uint256,uint256,(uint8,bytes32,bytes32))
and selector0x87e08c25
. - Container type for the return parameters of the
depositSingleAsset(address,address,uint256,uint256,uint256,uint256,(uint8,bytes32,bytes32))
function. - Function with signature
getLastBalance(address)
and selector0x34cb3d7f
. - Container type for the return parameters of the
getLastBalance(address)
function. - Function with signature
increaseAllowance(address,uint256)
and selector0x39509351
. - Container type for the return parameters of the
increaseAllowance(address,uint256)
function. - Function with signature
isToken(address)
and selector0x19f37361
. - Container type for the return parameters of the
isToken(address)
function. - Function with signature
isTradeHalted()
and selector0x26d9b5b3
. - Container type for the return parameters of the
isTradeHalted()
function. - Function with signature
lastBalances(address)
and selector0xecc7633d
. - Container type for the return parameters of the
lastBalances(address)
function. - Function with signature
nTokens()
and selector0x1b6a8759
. - Container type for the return parameters of the
nTokens()
function. - Function with signature
name()
and selector0x06fdde03
. - Container type for the return parameters of the
name()
function. - Function with signature
nonces(address)
and selector0x7ecebe00
. - Container type for the return parameters of the
nonces(address)
function. - Function with signature
owner()
and selector0x8da5cb5b
. - Container type for the return parameters of the
owner()
function. - Function with signature
permit(address,address,uint256,uint256,uint8,bytes32,bytes32)
and selector0xd505accf
. - Container type for the return parameters of the
permit(address,address,uint256,uint256,uint8,bytes32,bytes32)
function. - Function with signature
renounceOwnership()
and selector0x715018a6
. - Container type for the return parameters of the
renounceOwnership()
function. - Function with signature
resumeTrade()
and selector0x2e7e1bd3
. - Container type for the return parameters of the
resumeTrade()
function. - Function with signature
sellEthForToken(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
and selector0x27a9b424
. - Container type for the return parameters of the
sellEthForToken(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
function. - Function with signature
sellTokenForEth(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
and selector0x4cb6864c
. - Container type for the return parameters of the
sellTokenForEth(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
function. - Function with signature
setTriageRole(address)
and selector0xceaf4339
. - Container type for the return parameters of the
setTriageRole(address)
function. - Function with signature
stopTrade()
and selector0x8baeefce
. - Container type for the return parameters of the
stopTrade()
function. - Function with signature
swap(address,address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
and selector0x2b651a6c
. - Container type for the return parameters of the
swap(address,address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
function. - Function with signature
symbol()
and selector0x95d89b41
. - Container type for the return parameters of the
symbol()
function. - Function with signature
tokenAt(uint256)
and selector0x92a91a3a
. - Container type for the return parameters of the
tokenAt(uint256)
function. - Function with signature
totalSupply()
and selector0x18160ddd
. - Container type for the return parameters of the
totalSupply()
function. - Function with signature
transfer(address,uint256)
and selector0xa9059cbb
. - Function with signature
transferFrom(address,address,uint256)
and selector0x23b872dd
. - Container type for the return parameters of the
transferFrom(address,address,uint256)
function. - Function with signature
transferOwnership(address)
and selector0xf2fde38b
. - Container type for the return parameters of the
transferOwnership(address)
function. - Container type for the return parameters of the
transfer(address,uint256)
function. - Function with signature
transmitAndDeposit(uint256[],uint256,uint256,uint256,(uint8,bytes32,bytes32))
and selector0x29d0c8fc
. - Container type for the return parameters of the
transmitAndDeposit(uint256[],uint256,uint256,uint256,(uint8,bytes32,bytes32))
function. - Function with signature
transmitAndDepositSingleAsset(address,uint256,uint256,uint256,uint256,(uint8,bytes32,bytes32))
and selector0xc0d5ebfd
. - Container type for the return parameters of the
transmitAndDepositSingleAsset(address,uint256,uint256,uint256,uint256,(uint8,bytes32,bytes32))
function. - Function with signature
transmitAndSellTokenForEth(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
and selector0xc72da66a
. - Container type for the return parameters of the
transmitAndSellTokenForEth(address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
function. - Function with signature
transmitAndSwap(address,address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
and selector0x3b26e4eb
. - Container type for the return parameters of the
transmitAndSwap(address,address,uint256,uint256,uint256,address,(uint8,bytes32,bytes32),bytes)
function. - Function with signature
triageRole()
and selector0xda5014c5
. - Container type for the return parameters of the
triageRole()
function. - Function with signature
unlockDeposit()
and selector0x377a368c
. - Container type for the return parameters of the
unlockDeposit()
function. - Function with signature
vestingDeposits(address)
and selector0xc325a549
. - Container type for the return parameters of the
vestingDeposits(address)
function. - Function with signature
withdrawSingleAsset(address,uint256,address,uint256,uint256,(uint8,bytes32,bytes32))
and selector0x62fb4e01
. - Container type for the return parameters of the
withdrawSingleAsset(address,uint256,address,uint256,uint256,(uint8,bytes32,bytes32))
function.
Enums§
- Container for all the
ClipperExchange
function calls. - Container for all the
ClipperExchange
custom errors. - Container for all the
ClipperExchange
events.