PositionManager.sol
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IOptionsAuthority",
"name": "authority",
"type": "address"
}
],
"name": "AuthorityUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "size",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint40",
"name": "timeGap",
"type": "uint40"
}
],
"name": "CancelClosePosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "string",
"name": "errorMessage",
"type": "string"
}
],
"name": "CancelErrorMessage",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": false,
"internalType": "bytes32[4]",
"name": "optionIds",
"type": "bytes32[4]"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint40",
"name": "timeGap",
"type": "uint40"
}
],
"name": "CancelOpenPosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "size",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minAmountOut",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minOutWhenSwap",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "queueIndex",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint40",
"name": "blockTime",
"type": "uint40"
}
],
"name": "CreateClosePosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": false,
"internalType": "bytes32[4]",
"name": "optionIds",
"type": "bytes32[4]"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minSize",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minOutWhenSwap",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "queueIndex",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "gasPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint40",
"name": "blockTime",
"type": "uint40"
}
],
"name": "CreateOpenPosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "size",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountOut",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "executionPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint40",
"name": "timeGap",
"type": "uint40"
}
],
"name": "ExecuteClosePosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "string",
"name": "errorMessage",
"type": "string"
}
],
"name": "ExecuteErrorMessage",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"indexed": true,
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"indexed": false,
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "size",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "path",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "executionPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint40",
"name": "timeGap",
"type": "uint40"
}
],
"name": "ExecuteOpenPosition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "key",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bool",
"name": "isOpen",
"type": "bool"
}
],
"name": "GenerateRequestKey",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint40",
"name": "copyTradeFeeRebateRate",
"type": "uint40"
}
],
"name": "SetCopyTradeFeeRebateRate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "ethTransferGasLimit",
"type": "uint256"
}
],
"name": "SetEthTransferGasLimit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "executionFee",
"type": "uint256"
}
],
"name": "SetExecutionFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint40",
"name": "maxTimeDelay",
"type": "uint40"
}
],
"name": "SetMaxTimeDelay",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint40",
"name": "positionDeadlineBuffer",
"type": "uint40"
}
],
"name": "SetPositionDeadlineBuffer",
"type": "event"
},
{
"inputs": [
{
"internalType": "contract IOptionsAuthority",
"name": "_authority",
"type": "address"
}
],
"name": "__AuthorityUtil_init__",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_optionsMarket",
"type": "address"
},
{
"internalType": "address",
"name": "_controller",
"type": "address"
},
{
"internalType": "address",
"name": "_weth",
"type": "address"
},
{
"internalType": "contract IOptionsAuthority",
"name": "_authority",
"type": "address"
}
],
"name": "__BasePositionManager_init__",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "authority",
"outputs": [
{
"internalType": "contract IOptionsAuthority",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
},
{
"internalType": "address payable",
"name": "_executionFeeReceiver",
"type": "address"
}
],
"name": "cancelClosePosition",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
},
{
"internalType": "address payable",
"name": "_executionFeeReceiver",
"type": "address"
}
],
"name": "cancelOpenPosition",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "closePositionRequests",
"outputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "size",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minAmountOut",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minOutWhenSwap",
"type": "uint256"
},
{
"internalType": "bool",
"name": "withdrawETH",
"type": "bool"
},
{
"internalType": "uint40",
"name": "blockTime",
"type": "uint40"
},
{
"internalType": "enum IPositionManager.RequestStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "amountOut",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionPrice",
"type": "uint256"
},
{
"internalType": "uint40",
"name": "processBlockTime",
"type": "uint40"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "closePositionsIndex",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "controller",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "copyTradeFeeRebateRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint16",
"name": "_underlyingAssetIndex",
"type": "uint16"
},
{
"internalType": "uint256",
"name": "_optionTokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_size",
"type": "uint256"
},
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_minAmountOut",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minOutWhenSwap",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_withdrawETH",
"type": "bool"
}
],
"name": "createClosePosition",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint16",
"name": "_underlyingAssetIndex",
"type": "uint16"
},
{
"internalType": "uint8",
"name": "_length",
"type": "uint8"
},
{
"internalType": "bool[4]",
"name": "_isBuys",
"type": "bool[4]"
},
{
"internalType": "bytes32[4]",
"name": "_optionIds",
"type": "bytes32[4]"
},
{
"internalType": "bool[4]",
"name": "_isCalls",
"type": "bool[4]"
},
{
"internalType": "uint256",
"name": "_minSize",
"type": "uint256"
},
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_amountIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minOutWhenSwap",
"type": "uint256"
},
{
"internalType": "address",
"name": "_leadTrader",
"type": "address"
}
],
"name": "createOpenPosition",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint16",
"name": "_underlyingAssetIndex",
"type": "uint16"
},
{
"internalType": "uint8",
"name": "_length",
"type": "uint8"
},
{
"internalType": "bool[4]",
"name": "_isBuys",
"type": "bool[4]"
},
{
"internalType": "bytes32[4]",
"name": "_optionIds",
"type": "bytes32[4]"
},
{
"internalType": "bool[4]",
"name": "_isCalls",
"type": "bool[4]"
},
{
"internalType": "uint256",
"name": "_minSize",
"type": "uint256"
},
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_minOutWhenSwap",
"type": "uint256"
},
{
"internalType": "address",
"name": "_leadTrader",
"type": "address"
}
],
"name": "createOpenPositionETH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "ethTransferGasLimit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_requestIndex",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
},
{
"internalType": "address payable",
"name": "_executionFeeReceiver",
"type": "address"
}
],
"name": "executeClosePosition",
"outputs": [
{
"internalType": "bool",
"name": "isExecuted",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_requestIndex",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
},
{
"internalType": "address payable",
"name": "_executionFeeReceiver",
"type": "address"
}
],
"name": "executeOpenPosition",
"outputs": [
{
"internalType": "bool",
"name": "isExecuted",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_endIndex",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "_executionFeeReceiver",
"type": "address"
}
],
"name": "executePositions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "executionFee",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
}
],
"name": "getClosePositionRequestPath",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
}
],
"name": "getOpenPositionRequestPath",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_account",
"type": "address"
},
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_isOpenPosition",
"type": "bool"
}
],
"name": "getRequestKey",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getRequestQueueLengths",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_optionsMarket",
"type": "address"
},
{
"internalType": "address",
"name": "_controller",
"type": "address"
},
{
"internalType": "address",
"name": "_weth",
"type": "address"
},
{
"internalType": "contract IOptionsAuthority",
"name": "_authority",
"type": "address"
},
{
"internalType": "uint256",
"name": "_executionFee",
"type": "uint256"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "leadTrader",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxTimeDelay",
"outputs": [
{
"internalType": "uint40",
"name": "",
"type": "uint40"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "openPositionRequests",
"outputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint16",
"name": "underlyingAssetIndex",
"type": "uint16"
},
{
"internalType": "uint40",
"name": "expiry",
"type": "uint40"
},
{
"internalType": "uint256",
"name": "optionTokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minSize",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minOutWhenSwap",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isDepositedInETH",
"type": "bool"
},
{
"internalType": "uint40",
"name": "blockTime",
"type": "uint40"
},
{
"internalType": "enum IPositionManager.RequestStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "sizeOut",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "executionPrice",
"type": "uint256"
},
{
"internalType": "uint40",
"name": "processBlockTime",
"type": "uint40"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "openPositionsIndex",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "optionsMarket",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "positionDeadlineBuffer",
"outputs": [
{
"internalType": "uint40",
"name": "",
"type": "uint40"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "positionRequestKeys",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "positionRequestKeysStart",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "positionRequestTypes",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_receiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "sendValue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IOptionsAuthority",
"name": "_newAuthority",
"type": "address"
}
],
"name": "setAuthority",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint40",
"name": "_copyTradeFeeRebateRate",
"type": "uint40"
}
],
"name": "setCopyTradeFeeRebateRate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_ethTransferGasLimit",
"type": "uint256"
}
],
"name": "setEthTransferGasLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_executionFee",
"type": "uint256"
}
],
"name": "setExecutionFee",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint40",
"name": "_maxTimeDelay",
"type": "uint40"
}
],
"name": "setMaxTimeDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint40",
"name": "_positionDeadlineBuffer",
"type": "uint40"
}
],
"name": "setPositionDeadlineBuffer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "weth",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
Last updated