Variable ENDPOINT_ABIConst
ENDPOINT_ABI: readonly [
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "uint8";
name: "version";
type: "uint8";
},
];
name: "Initialized";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "previousOwner";
type: "address";
},
{
indexed: true;
internalType: "address";
name: "newOwner";
type: "address";
},
];
name: "OwnershipTransferred";
type: "event";
},
{
anonymous: false;
inputs: readonly [];
name: "SubmitTransactions";
type: "event";
},
{
inputs: readonly [];
name: "clearinghouse";
outputs: readonly [
{ internalType: "contract IClearinghouse"; name: ""; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes12"; name: "subaccountName"; type: "bytes12" },
{ internalType: "uint32"; name: "productId"; type: "uint32" },
{ internalType: "uint128"; name: "amount"; type: "uint128" },
];
name: "depositCollateral";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "subaccount"; type: "bytes32" },
{ internalType: "uint32"; name: "productId"; type: "uint32" },
{ internalType: "uint128"; name: "amount"; type: "uint128" },
{ internalType: "string"; name: "referralCode"; type: "string" },
];
name: "depositCollateralWithReferral";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes12"; name: "subaccountName"; type: "bytes12" },
{ internalType: "uint32"; name: "productId"; type: "uint32" },
{ internalType: "uint128"; name: "amount"; type: "uint128" },
{ internalType: "string"; name: "referralCode"; type: "string" },
];
name: "depositCollateralWithReferral";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "executeSlowModeTransaction";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "subaccount"; type: "bytes32" },
];
name: "getLinkedSigner";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getNlpPools";
outputs: readonly [
{
components: readonly [
{ internalType: "uint64"; name: "poolId"; type: "uint64" },
{ internalType: "bytes32"; name: "subaccount"; type: "bytes32" },
{ internalType: "address"; name: "owner"; type: "address" },
{ internalType: "uint128"; name: "balanceWeightX18"; type: "uint128" },
];
internalType: "struct IEndpoint.NlpPool[]";
name: "";
type: "tuple[]";
},
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "sender"; type: "address" },
];
name: "getNonce";
outputs: readonly [{ internalType: "uint64"; name: ""; type: "uint64" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getOffchainExchange";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint32"; name: "productId"; type: "uint32" },
];
name: "getPriceX18";
outputs: readonly [
{ internalType: "int128"; name: "_priceX18"; type: "int128" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getSequencer";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint64"; name: "idx"; type: "uint64" },
];
name: "getSlowModeTx";
outputs: readonly [
{
components: readonly [
{ internalType: "uint64"; name: "executableAt"; type: "uint64" },
{ internalType: "address"; name: "sender"; type: "address" },
{ internalType: "bytes"; name: "tx"; type: "bytes" },
];
internalType: "struct IEndpoint.SlowModeTx";
name: "";
type: "tuple";
},
{ internalType: "uint64"; name: ""; type: "uint64" },
{ internalType: "uint64"; name: ""; type: "uint64" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "subaccount"; type: "bytes32" },
];
name: "getSubaccountId";
outputs: readonly [{ internalType: "uint64"; name: ""; type: "uint64" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getTime";
outputs: readonly [{ internalType: "uint128"; name: ""; type: "uint128" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "_sanctions"; type: "address" },
{ internalType: "address"; name: "_sequencer"; type: "address" },
{ internalType: "address"; name: "_offchainExchange"; type: "address" },
{
internalType: "contract IClearinghouse";
name: "_clearinghouse";
type: "address";
},
{ internalType: "address"; name: "_verifier"; type: "address" },
{ internalType: "int128[]"; name: "initialPrices"; type: "int128[]" },
];
name: "initialize";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [];
name: "nSubmissions";
outputs: readonly [{ internalType: "uint64"; name: ""; type: "uint64" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint256"; name: ""; type: "uint256" },
];
name: "nlpPools";
outputs: readonly [
{ internalType: "uint64"; name: "poolId"; type: "uint64" },
{ internalType: "bytes32"; name: "subaccount"; type: "bytes32" },
{ internalType: "address"; name: "owner"; type: "address" },
{ internalType: "uint128"; name: "balanceWeightX18"; type: "uint128" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "owner";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "sender"; type: "address" },
{ internalType: "bytes"; name: "transaction"; type: "bytes" },
];
name: "processSlowModeTransaction";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: ""; type: "address" },
];
name: "referralCodes";
outputs: readonly [{ internalType: "string"; name: ""; type: "string" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes"; name: "transaction"; type: "bytes" },
];
name: "submitSlowModeTransaction";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint64"; name: "idx"; type: "uint64" },
{ internalType: "bytes[]"; name: "transactions"; type: "bytes[]" },
{ internalType: "bytes32"; name: "e"; type: "bytes32" },
{ internalType: "bytes32"; name: "s"; type: "bytes32" },
{ internalType: "uint8"; name: "signerBitmask"; type: "uint8" },
];
name: "submitTransactionsChecked";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint64"; name: "idx"; type: "uint64" },
{ internalType: "bytes[]"; name: "transactions"; type: "bytes[]" },
{ internalType: "uint256"; name: "gasLimit"; type: "uint256" },
];
name: "submitTransactionsCheckedWithGasLimit";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "newOwner"; type: "address" },
];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
},
] = ...