Skip to main content

Module protocol

Module protocol 

Source
Expand description

The protocol: pure, I/O-free checks of every server payload against the caller’s terms and the pinned deployments, the pins themselves, and the payloads they rebuild, under the names the TypeScript SDK’s @lamarge/sdk/protocol gives them, in snake case.

A check returns a Verified payload, rebuilt from the checked terms and pinned domains, or a VerificationError whose kind and detail name the rule that failed. The Session flows run these checks before every signature; a caller signing with its own key runs them itself, and signs only what Verified::typed_data or Verified::message gives.

Re-exports§

pub use crate::deployments::AT_ONCE_SEND_MARGIN_SECONDS;
pub use crate::deployments::AT_ONCE_SIGNING_SECONDS;
pub use crate::deployments::CHAINS;
pub use crate::deployments::Chain;
pub use crate::deployments::ENVIRONMENT_SLOTS;
pub use crate::deployments::ESCROW;
pub use crate::deployments::ESCROWS as ESCROW_DEPLOYMENTS;
pub use crate::deployments::Escrow as EscrowDeployment;
pub use crate::deployments::LIGHTER_MAX_TAKER_FEE;
pub use crate::deployments::MAKER_TIMEOUT_SECONDS;
pub use crate::deployments::PermitDomain;
pub use crate::deployments::ROUTE_PAY_WINDOW_SECONDS;
pub use crate::deployments::Slots as EnvironmentSlots;
pub use crate::deployments::TAKER_TIMEOUT_SECONDS;
pub use crate::deployments::UNLIMITED_ALLOWANCE;
pub use crate::deployments::VENUE_DOMAINS;
pub use crate::deployments::VenueDomain;
pub use crate::deployments::WALLET_SWAP_MIN_BPS;
pub use crate::deployments::decimal_units;
pub use crate::deployments::is_venue_settled;
pub use crate::deployments::venue_step;
pub use crate::deployments::venue_units;
pub use crate::flows::BridgeTerms as BridgeExpectation;

Structs§

AsterTransfer
A transfer between accounts, read from its msg.
BridgeTransactions
A wallet-origin bridge’s transactions: an approve of amount to the depository, needed only when the allowance is short, then the deposit.
Chain
A venue’s settlement chain: the escrow chain of an escrow venue, the signing chain of a venue settled inside itself.
EnvironmentSlots
What an environment registers on venues: registering another environment’s slot replaces it, so environments use distinct Aster agent names and Lighter API key indexes.
EscrowDeployment
A reviewed escrow proxy (v5 UUPS), never an implementation or an address the API supplies.
EscrowLock
An escrow lock as locks(owner, offerId, swapId) returns it.
EscrowWithdrawalPreparation
An escrow withdrawal as POST /v1/escrow/withdraw/prepare answers it.
Fee
A take’s taker fee: charged on top of the payment, or out of what the maker delivers when the taker pays inside a venue.
LighterTransfer
An internal transfer between Lighter accounts, as its API key signs it.
LinesAuthority
The quote identity publishing, its quote signer, its pools as last read, and the maker’s payment recipient on each venue it buys on.
LinesRequest
The caller’s lines a preparation is checked against.
MakerAuthority
Who a maker preparation may name: the linked owner, the delegated identity and its quote signer, the deployment’s operator, and the identity’s existing pool on the venue, if any.
MakerIntent
The caller’s capital addition a maker preparation is checked against.
PaymentRefundPreparation
A refund consent as POST /v1/fills/{id}/refund/prepare answers it.
PermitDomain
An EIP-2612 permit domain’s name and version.
PlanTerms
The caller’s terms a transfer’s funding plan is checked against.
ProofDeployment
A reviewed v5 escrow proxy a proof may name, retired ones included: never an implementation or an address the API supplies. EscrowDeployment lists only the active ones, those new signatures go to.
QuoteIntent
The terms of one quote, as the maker set them.
RelayEndpoint
A Relay endpoint: Relay’s chain name and id, the currency as orders write it, and the decimals on each side.
RelayPins
Relay’s pinned contracts, from Relay’s chains and verified sources, never from an answer.
SwapFee
The fee a swap id carries and where the escrow takes it.
TakeIntent
The caller’s terms a take is checked against.
TakeReads
What the flow read for the check: Lighter’s owners of the accounts lighter_accounts names, and for a take from wallet funds, a fresh read of them (excluding this take).
TransferTxInfo
A sent transfer read back from its tx_info, and its owner’s signature (L1Sig).
UnreadableTransfer
A tx_info that is not a plain transfer: the field that failed.
VenueDeposits
The contracts the router’s calls credit a Polymarket, GMX or Aster account through.
VenueDomain
The signing domain of a venue settled inside itself.
VenueTransfer
A venue’s own transfer out of an account, read from what its owner signs.
Verified
A payload the checks verified for signer, signable until not_after (Unix seconds): what is signed is the payload the checks rebuilt from checked terms and pinned domains, never the server’s JSON. Only the crate’s checks make one.

Enums§

Delivery
Where a take delivers on its receiving venue, as the caller states it: never taken from the API.
RelayVm
How a Relay chain names accounts.
TransferKind
What a venue transfer does.

Constants§

ACCOUNT_MINIMUMS
The least an account accepts as a deposit, in its venue’s base units: Polymarket’s 5 pUSD. A bridge credits at least this much; other venues have no minimum.
ASTER_CHAIN_ID
BSC: the signing chain of withdrawals and agent approvals, and the default withdrawal chain.
ASTER_TRANSFER_CHAIN_ID
The chain id of transfers between accounts.
AT_ONCE_SEND_MARGIN_SECONDS
A take signed at once with its withdrawal is accepted until this long before its pay_by.
AT_ONCE_SIGNING_SECONDS
Left before that cutoff for each request of a take signed at once.
CHAINS
Each venue’s pinned chain, token, decimals and permit domain. A venue the API enables but that is not pinned here is not traded.
COLLATERAL_ROUTE
A taker’s transfer moves between collateral routes.
ENVIRONMENT_SLOTS
Each environment’s Aster agent name and Lighter API key index.
ESCROW
Production’s escrow proxy, the same address on HyperEVM and Polygon. A deployment’s escrows are those ESCROWS pins for its environment.
ESCROW_DEPLOYMENTS
The active escrows, one per environment and escrow chain. Retired proxies are not pinned: nothing new is signed for them.
ESCROW_PROOF_DEPLOYMENTS
Every proxy a proof may name: the active ones of each environment, then the retired ones.
FEE_ON_DELIVERY
The escrow’s tag of a fee taken out of the delivery.
FEE_ON_PAYMENT
The escrow’s tag of a fee taken on the payment: a swap id starting with it carries the fee in its next ten bytes.
GMX_TRANSFER_ROUTER
GMX’s MultichainTransferRouter on Arbitrum.
HYPERLIQUID_BRIDGE
USDC’s HyperCore system address: a SendAsset there credits the sender’s own HyperEVM address.
LIGHTER_API
Lighter’s public API, read directly so account data does not depend on LaMarge.
LIGHTER_CHAIN_ID
Lighter’s L2 chain id, which its transfers and quote sets sign.
LIGHTER_MAX_TAKER_FEE
The most Lighter charges a taker’s account on top of a transfer: 1 USDC.
MAKER_TIMEOUT_SECONDS
Seconds a quote set outlasts its valid_until (FILL_MAKER_TIMEOUT), and the latest t1.
MAX_FEE_BPS
The most a fee takes of the total it is part of, in basis points, as the escrow bounds it.
RELAY
Relay (relay.link), the external bridge LaMarge plans and tracks: an order is accepted only if its hash, contracts, solver, recipients and amounts match what these pins and the caller’s terms rebuild.
RELAY_WALLETS
Wallet tokens a bridge can start from or deliver to.
RETIRED_V5_DEPLOYMENTS
Retired v5 proxies: trusted for existing proofs, never new signatures.
ROUTE_PAY_WINDOW_SECONDS
The most seconds to a route’s second take’s pay_by when signed at once.
TAKER_API_KEY
The index of production’s Lighter API key, which sends a taker’s transfers.
TAKER_API_KEYS
The Lighter API key indexes of every environment.
TAKER_TIMEOUT_SECONDS
The latest a take’s payment refunds, t2: the escrow’s MAX_LOCK_DURATION.
UNLIMITED_ALLOWANCE
The allowance a permit grants, once.
USDC_ASSET
A taker’s transfer moves USDC.
VENUE_DEPOSITS
The contracts a bridge credits a venue account through.
VENUE_DOMAINS
Signing domains of venues without escrow: Lighter’s L2 chain id and zkLighter contract, BSC and Aster’s vault. Quote sets of inventory held there are signed in them; nothing is ever sent to them.
WALLET_FEE_ON_DELIVERY
FEE_ON_DELIVERY’s wallet twin.
WALLET_FEE_ON_PAYMENT
FEE_ON_PAYMENT’s wallet twin, which a wallet delivery’s swap id always carries, fee zero included: the escrow pays it by plain transfer, never into a venue.
WALLET_SWAP_MIN_BPS
The least share of a Polygon wallet delivery’s pUSD its recipient receives in native USDC.

Functions§

aster_amount
Base units of USDT as Aster takes them: a decimal amount of six decimals at most, rounded up so the recipient never gets less. None above 2^256 - 1.
aster_client_id
The clientTranId of a fill’s transfer: its id in 32 lowercase hex digits. Aster moves nothing more for a repeated one.
aster_request
Message{msg} in Aster’s signing domain at chain_id: its transfers’ chain, or BSC’s for agent approvals and withdrawals.
aster_send
Aster’s transfer of amount USDT, whole millionths, from account’s Spot wallet to recipient’s, under id (letters and digits, 64 at most); nonce: microseconds, 16 digits.
aster_transfer
Reads an Aster transfer between accounts: its request at Aster’s transfer chain, whose msg is exactly asset=USDT&amount=…&toAddress=…&clientTranId=…&nonce=…&user=… (Differs, aster transfer).
aster_withdrawal
Aster’s withdrawal from account to its own address on chain_id (BSC, Arbitrum or Ethereum): amount arrives, fee on top, both whole millionths of USDT, the fee 2 USDT at most. nonce: microseconds, 16 digits. Aster relays it in an envelope the account signs second.
bridge_authorization
Relay’s nonce mapping the HyperCore payer signs: it ties nonce to the order before the SendAsset with that nonce reaches Relay.
bridge_expectation
What a bridge of amount_in (origin base units) must do for the move request: BridgeTerms::for_move. BridgeTerms::from_wallet starts it from the payer’s wallet on the origin chain instead.
bridge_send_asset
The HyperCore SendAsset of amount (6 decimals) to Relay’s depository, nonce nonce, in Hyperliquid’s signing domain. It leaves from the bridge’s source_dex: the payer’s perps ("") or, for a unified account, "spot"; anything else, or none, is refused (Differs, sourceDex).
bridge_transactions
The deposit of amount (origin units) for order id from payer’s wallet origin.
can_refund_payment
Whether the maker of fill, abandoned inside its venue, may give the taker’s locked payment back before t2. From an escrow offer, the operator returns it at once.
check_aster_approval
Aster’s agent approval: Message{msg} at BSC’s chain id approving environment’s LaMarge agent for owner, for a year, trading perps only (no spot, no withdrawal), from a few narrow public addresses if it lists any, under the prepared nonce (reference), within a minute of now.
check_aster_request
Checks an Aster request (Message{msg} in Aster’s signing domain at chain_id: its transfers’ chain, or BSC’s for agent approvals and withdrawals) and returns its msg.
check_aster_take_intent
check_take of a take paid from Aster: the payer’s transfer of its fill’s amount to the maker’s account under the fill id, its nonce far enough ahead for LaMarge to relay it and within Aster’s window when relayed. A take paid from another venue is refused (Unsupported, venue).
check_aster_transfer
Checks that an Aster transfer pays fill’s amount_in, as Aster carries it in six decimals rounded up, from its payer to its maker’s recipient, under the fill’s id (Differs, aster transfer).
check_bridge_nonce
A HyperCore bridge’s nonce, which the payer’s send spends: a millisecond timestamp under 30 minutes old and at most 5 minutes ahead of now_ms.
check_bridge_order
Checks Relay’s order (protocol.v2.orderData) against expect at now (Unix seconds) and returns its id: its hash, solver, input, refunds, output, recipient, floor and calls are the ones the pins and expect rebuild.
check_close_orders
Checks a close (POST /v1/closes) of orders among ids by master at now: one CloseOrders in the HyperEVM escrow’s domain (LaMarge’s operator authorization), by and for the master, of distinct asked orders, within the hour.
check_deadline
Checks that deadline (Unix seconds) is after now and at most seconds ahead of it, with a 30-second clock margin (Stale, deadline).
check_escrow_proof_typed
Checks typed, a quote set, a funding or a payment on venue, as a proof: exact EIP-712 field types, LaMarge’s domain on venue’s chain, and a contract among ESCROW_PROOF_DEPLOYMENTS. Returns that deployment.
check_escrow_typed
Checks a request to sign on venue before any wallet prompt: its exact EIP-712 types and a domain environment pins. A QuoteSet, FundOffer, PayTake or CloseOrders is signed in the environment’s escrow on the venue’s chain (a venue settled inside itself signs quote sets only, in its own domain); a Permit in the domain of the venue’s token, to that escrow. Any other primary type is refused (Differs, primaryType). Stricter than the TypeScript SDK’s checkEscrowTyped, which accepts any pinned environment’s escrow: the escrow is environment’s.
check_escrow_withdrawal
Checks one escrow_withdrawal of exactly amount by order’s owner, in the domain of chain’s escrow as the API lists it (a pinned one), to the margin when to_margin, else to the owner’s wallet, good for an hour at most from now.
check_fee
That a fill’s fee is the one its swap id carries, taken where its payment says, within what the taker accepted: on the maker’s price from an escrow payment (on_delivery false), on what the offer delivers when the taker pays inside a venue. Without consent, no fee.
check_funding_plan
Checks a transfer’s funding plan (TransferIntent.funding_plan, None when the server could not plan: its funding_plan_error says why) at now: what the transfer will ask the payer to sign is at most a permit, a margin withdrawal and the payment, in that order, on from‘s chain, for terms’ amount, observed within two minutes.
check_lighter_take_intent
check_take of a take paid from Lighter: the owner message of the one transfer paying exactly its fill from the payer’s linked account. A take paid from another venue is refused (Unsupported, venue).
check_link_challenge
Checks the message address signs to be linked on venue under master: its six lines, naming all three, nonce and expires_at, valid ten minutes at most from now. Returns the text to sign with personal_sign, signable until it expires.
check_login_challenge
Checks a sign-in challenge (POST /v1/auth/challenge) for address and the app origin at now: the exact EIP-4361 text the server writes, its nonce and expiry, issued no later than two minutes ahead, not expired more than two minutes ago, valid ten minutes at most. Returns the text to sign with personal_sign, signable until two minutes after expiry.
check_maker_intent
Checks a maker preparation (POST /v1/maker/prepare) for a delegated quote identity at now and returns its payloads, in to_sign order: the FundOffer of all the capital asked, its deposit only the part the pool’s available balance does not cover, from the asked source, and for venue funding one margin move of that deposit. A delegated identity’s quotes are never re-signed here, so any quote_set request is refused.
check_minimum_received
A wallet take’s minimum_received is the least its recipient gets of the wallet token for all it delivers, as the escrow bounds it; a venue take’s is none.
check_payment_refund
Checks the one refund_payment consent of fill, signed by its payment’s beneficiary in a pinned escrow’s domain on the paying chain, good until t2 at most and an hour from now.
check_permit
An EIP-2612 permit in the pinned domain of venue’s token, by owner, of an unlimited allowance to environment’s escrow on that chain, its deadline within ten minutes.
check_prepared_lines
Checks a lines preparation (POST /v1/quotes/lines/prepare) and returns one payload per draft, in draft order. The echoed lines are the caller’s, each live pool of the identity with stock signs exactly the set its line builds (receiving where the caller buys, at the caller’s prices, to the caller’s recipients), and only pools without stock are cancelled. Omitting a receiving venue is allowed; changing a price, stock, minimum or recipient is not. Each payload is signable until a second before valid_until, refused once now reaches it.
check_prepared_quote
A draft’s terms and its one quote set: quotes (built from the draft’s own quotes, one each) exactly, size as its budget, valid until valid_until and settling an hour and a second later, at a sequence above the pool’s last and at most 2^53 - 1.
check_refund_locks
Checks the payment lock of fill, undelivered and delivered inside its venue: it still refunds fill.amount_in to its payer at t2.
check_registry
Checks chain, as the API lists it for venue, against the pins: chain id, token, decimals, permit domain, wallet token and escrow (any environment’s). Returns the environment of an escrow venue’s escrow; None for a venue settled inside itself, whose listed escrow is its signing domain’s contract.
check_route_intent
Checks a route’s second transfer, as LaMarge made it, against the route’s first (first, whose then names the route’s end): it continues the first from its destination, paid by the hub hub to the route’s recipient, spends no more than delivers (what the first take delivers on the hub venue) and at least 1% of the plan, at the planned price, and withdraws nothing (Changed, destination or amount).
check_send
Checks a send (POST /v1/withdrawals/prepare with a recipient) of exactly amount from signer’s account on venue to recipient, another account of the same venue, at at. A Polymarket wallet shows only the operation’s hash: it is rebuilt from the typed data’s op, whose terms are checked. With Dex::Xyz, a standard Hyperliquid account’s trade.xyz balance pays it instead of its perps.
check_setup_kind
Checks that setup step asks its one kind of signature: a permit, Aster’s agent approval (agent) or a Lighter API key registration (api_key).
check_signed_quote
Checks a quote set to sign for pool (its id, venue, owner and quote signer): exactly the requested quotes, in order (each position is the index a fill names), at sequence, settling by expires_at, in the pool’s pinned signing domain; signable before valid_until, its last admission time (Unix seconds).
check_take
Checks a prepared take (POST /v1/takes) against intent at now and returns its one payment to sign: a PayTake from an escrow venue, the Lighter owner message of a take paid from Lighter, or the Aster transfer request of a take paid from Aster.
check_take_intent
check_take of a take paid from an escrow venue (Hyperliquid, Polymarket, GMX): its one PayTake. A take paid from another venue is refused (Unsupported, venue).
check_transfer
Checks a send (send) or a withdrawal of amount by signer to destination on venue at now: check_send or check_withdrawal. A Polymarket operation (Op) is only a send. dex as either takes it.
check_withdrawal
Checks a withdrawal of exactly amount from signer’s account on venue to destination at at, as the TypeScript SDK’s checkWithdrawal does: on Hyperliquid to the signer’s own HyperEVM address through USDC’s bridge, on Polymarket to destination without fee, and on Aster an Action withdrawing to the signer’s own address on BSC, amount arriving there after Aster’s fee of 2 USDT at most, its nonce within a minute. With Dex::Xyz, a standard Hyperliquid account’s trade.xyz balance pays it instead of its perps; any other venue refuses a dex.
decimal_text
units of a token with decimals as the decimal text venues sign, six decimals at most, exactly: "5", "5.25". Refused (Differs, amount) when it needs more decimals.
decimal_units
A venue’s decimal token amount ("12.5", six decimals at most) in base units of a token with decimals, exactly. None for any other text.
decimals_of
The decimals of venue’s token; an unpinned venue is refused (Unsupported, venue).
destination_calls
The calls the router runs to credit recipient’s account on venue (Polymarket, GMX, Aster) with its whole balance of the venue’s token, at least least, then sweep what any call left to recipient’s wallet.
direct_pair
Whether a pool on supply may quote takers paying on paying: another venue, and never between the two venues settled inside themselves.
fee_on
⌊amount × bps / 10 000⌋, exactly and without overflow (bps ≤ 10 000).
fill_memo
The memo naming a fill: its id’s 16 bytes, then 16 zero bytes.
from_relay_units
A Relay amount in the endpoint’s own units, rounded down.
gmx_transfer_out
transferOut((token, amount, 0, 0x0, 0x, (0x0, 0, [], 0))), with no bridge provider and no bridge fee: amount of Arbitrum USDC from the sender’s GMX Account to the sender’s own address, never elsewhere.
hash_to_fp5
Hashes field elements to five, without padding: each block of eight overwrites the rate.
hyperliquid_send_asset
Hyperliquid’s SendAsset of amount USDC from an account’s main balance: to recipient, another account, or without one to the signer’s own HyperEVM address. nonce in milliseconds, 2^53 − 1 at most; source_dex "" perps, spot a unified account, xyz a standard account’s trade.xyz.
is_pinned_escrow
Whether venue’s requests may name contract as their escrow: on an escrow venue, any pinned deployment of its chain, whichever environment’s; on a venue settled inside itself, its one pinned signing domain.
is_venue_settled
Whether venue settles inside itself (no escrow): Lighter and Aster.
lamarge_domain
The escrow’s domain (LaMarge, version 1) on chain_id: a pinned escrow, or a venue’s signing domain.
lighter_accounts
The Lighter account indexes whose owners check_take needs: a delivery into Lighter’s account, and a Lighter payment’s two accounts.
line_receive
What stock base units sold on supply at sell cost on paying bought at buy, rounded up for the maker; None for an unpinned venue or beyond 2^256 - 1.
minimum_received
The least a wallet delivery of amount_out to to pays its recipient, as the escrow checks it: on Polygon ⌈amount_out × 9 995 / 10 000⌉, elsewhere all of it.
op_hash
An operation’s data: keccak256 of its MessagePack, over the exact strings sent.
part_floor
A part’s floor, in destination units: its share of the move’s min_out at the move’s rate, rounded up. None for an empty move or above 2^256 - 1.
permit_domain
The permit domain of chain’s token, if it has one.
polymarket_send
Polymarket’s internal transfer of amount pUSD from account to recipient’s Perps account; ts in milliseconds, salt and ts 2^53 − 1 at most. Its op travels with the typed data: a wallet is shown only the hash of it.
polymarket_withdrawal
Polymarket’s withdrawal of amount pUSD from account’s Perps margin to recipient on Polygon, without fee; ts in seconds. salt and ts are 2^53 − 1 at most, as a JSON number keeps them exactly.
price_within
The largest price whose fee on top fits budget: P + ⌊P × bps / 10 000⌋ ≤ budget, as the server plans it.
read_transfer_tx_info
Reads a sent transfer from its tx_info (Lighter’s JSON), refusing transaction attributes.
read_venue_transfer
Reads a withdrawal or send out of an account on venue from its typed data, refusing any field, domain, token or chain the venue’s own transfer does not carry. It judges no recipient, amount or time: the caller compares them with what it asked for.
registration_message
The text an owner signs to register API key api_key with public_key on account.
relay_endpoint
The Relay endpoint of endpoint as an origin (origin) or a destination; refused for anything LaMarge does not bridge.
relay_order_id
The order’s id: Relay’s EIP-712 hash of order as Relay serves it, Lighter’s accounts hashed as 16-byte indexes.
require_signing_domains
Checks that every escrow request among items is signed in a pinned domain, whichever environment’s: a fund or pay_take in a pinned escrow, a quote_set in a pinned escrow or a venue’s own signing domain. A request of another kind is not looked at. Refused with Deployment, escrow, at the request’s index.
signable_until
Until when, in Unix seconds, a reserved take can still be signed: its earliest pay_by, sooner for an Aster transfer whose nonce must stay ahead, unless LaMarge issues that request again right before it is signed (aster_reissue).
signed_at
When a withdrawal or send was signed, from each venue’s own unit: what a stored signature is checked again at before it is submitted again.
swap_fee
The fee swap_id carries; zero on the payment, into a venue, without a tag.
take_fee
The fee a take from from pays at its pair’s pair_bps: none without the taker’s consent, max_fee_bps.
take_payment_kind
The request kind paying a take from from.
take_payments
The payments of a PayTake’s typed data, as the server wrote them: one to eight, each with exactly LockPayment’s fields (Differs, payments). Their values are checked by check_take.
to_relay_units
amount in the endpoint’s own units, in Relay’s (HyperCore: × 100, exact).
transfer_hash
The 40-byte hash a transfer’s API key signs on chain chain_id, also its Lighter transaction hash. Transaction attributes are not part of it: only the owner’s message binds the memo.
transfer_message
The text the owner signs with personal_sign for transfer to another owner’s account on chain chain_id.
venue_step
One millionth of venue’s token, in base units: venues carry six decimals at most. None for an unknown venue.
venue_units
value rounded up to whole millionths of venue’s token: what the venue moves for it. None for an unknown venue or above 2^256 - 1.
withdrawal_cost
What a withdrawal on venue moves out of the account for its amount to arrive, as the TypeScript SDK’s withdrawalCost reads it: on Hyperliquid and Polymarket the signed amount, on Aster the signed amount less Aster’s fee (what arrives on BSC).

Type Aliases§

LighterOwners
Owners of Lighter accounts by index, as Lighter’s public API answered (never LaMarge’s record of a link): an account whose owner a check needs and does not find here is refused.