StargateRegistry
Defined in: protocol-swap2-stargate/src/registry.ts:27
Properties
Section titled “Properties”deployments
Section titled “deployments”
readonlydeployments: readonlyStargateDeployment[]
Defined in: protocol-swap2-stargate/src/registry.ts:28
readonlypaths: readonlyStargatePath[]
Defined in: protocol-swap2-stargate/src/registry.ts:29
Methods
Section titled “Methods”callTargets()
Section titled “callTargets()”callTargets(
chain): readonly`0x${string}`[]
Defined in: protocol-swap2-stargate/src/registry.ts:32
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”readonly `0x${string}`[]
find()
Section titled “find()”find(
chain,token):StargateDeployment|undefined
Defined in: protocol-swap2-stargate/src/registry.ts:30
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”StargateDeployment | undefined
route()
Section titled “route()”route(
sourceChain,sourceToken,destinationChain,destinationToken): {destination:StargateDeployment;source:StargateDeployment; } |undefined
Defined in: protocol-swap2-stargate/src/registry.ts:31
Parameters
Section titled “Parameters”sourceChain
Section titled “sourceChain”string
sourceToken
Section titled “sourceToken”string
destinationChain
Section titled “destinationChain”string
destinationToken
Section titled “destinationToken”string
Returns
Section titled “Returns”{ destination: StargateDeployment; source: StargateDeployment; } | undefined
spenders()
Section titled “spenders()”spenders(
chain): readonly`0x${string}`[]
Defined in: protocol-swap2-stargate/src/registry.ts:33
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”readonly `0x${string}`[]