Variable PlaceOrderSigningTypesConst
PlaceOrderSigningTypes: {
Action: readonly [{
name: "market";
type: "address";
}, {
name: "orderId";
type: "uint256";
}, {
name: "maxFee";
type: "uint256";
}, {
name: "common";
type: "Common";
}];
Common: readonly [{
name: "account";
type: "address";
}, {
name: "signer";
type: "address";
}, {
name: "domain";
type: "address";
}, {
name: "nonce";
type: "uint256";
}, {
name: "group";
type: "uint256";
}, {
name: "expiry";
type: "uint256";
}];
InterfaceFee: readonly [{
name: "amount";
type: "uint64";
}, {
name: "receiver";
type: "address";
}, {
name: "fixedFee";
type: "bool";
}, {
name: "unwrap";
type: "bool";
}];
PlaceOrderAction: readonly [{
name: "order";
type: "TriggerOrder";
}, {
name: "action";
type: "Action";
}];
TriggerOrder: readonly [{
name: "side";
type: "uint8";
}, {
name: "comparison";
type: "int8";
}, {
name: "price";
type: "int64";
}, {
name: "delta";
type: "int64";
}, {
name: "maxFee";
type: "uint64";
}, {
name: "isSpent";
type: "bool";
}, {
name: "referrer";
type: "address";
}, {
name: "interfaceFee";
type: "InterfaceFee";
}];
} = ...
Type declaration
Readonly Action: readonly [{
name: "market";
type: "address";
}, {
name: "orderId";
type: "uint256";
}, {
name: "maxFee";
type: "uint256";
}, {
name: "common";
type: "Common";
}]
Readonly Common: readonly [{
name: "account";
type: "address";
}, {
name: "signer";
type: "address";
}, {
name: "domain";
type: "address";
}, {
name: "nonce";
type: "uint256";
}, {
name: "group";
type: "uint256";
}, {
name: "expiry";
type: "uint256";
}]
Readonly InterfaceFee: readonly [{
name: "amount";
type: "uint64";
}, {
name: "receiver";
type: "address";
}, {
name: "fixedFee";
type: "bool";
}, {
name: "unwrap";
type: "bool";
}]
Readonly PlaceOrderAction: readonly [{
name: "order";
type: "TriggerOrder";
}, {
name: "action";
type: "Action";
}]
Readonly TriggerOrder: readonly [{
name: "side";
type: "uint8";
}, {
name: "comparison";
type: "int8";
}, {
name: "price";
type: "int64";
}, {
name: "delta";
type: "int64";
}, {
name: "maxFee";
type: "uint64";
}, {
name: "isSpent";
type: "bool";
}, {
name: "referrer";
type: "address";
}, {
name: "interfaceFee";
type: "InterfaceFee";
}]