Skip to content

Latest commit

 

History

History
110 lines (72 loc) · 2.32 KB

zilo.md

File metadata and controls

110 lines (72 loc) · 2.32 KB

zilswap-sdk / Exports / zilo

Module: zilo

Table of contents

Classes

Type aliases

Type aliases

OnStateUpdate

Ƭ OnStateUpdate: (appState: ZiloAppState) => void

Type declaration

▸ (appState): void

Parameters
Name Type
appState ZiloAppState
Returns

void

Defined in

zilo.ts:14


ZiloAppState

Ƭ ZiloAppState: Object

Type declaration

Name Type
claimable boolean
contractInit ZiloContractInit | null
contractState ZiloContractState
contributed boolean
currentNonce number | null
currentUser string | null
state ILOState
userContribution BigNumber

Defined in

zilo.ts:39


ZiloContractInit

Ƭ ZiloContractInit: Object

Type declaration

Name Type
_creation_block string
_scilla_version string
_this_address string
end_block number
liquidity_address string
liquidity_zil_amount BigNumber
minimum_zil_amount BigNumber
receiver_address string
start_block number
target_zil_amount BigNumber
target_zwap_amount BigNumber
token_address string
token_amount BigNumber
zwap_address string

Defined in

zilo.ts:22


ZiloContractState

Ƭ ZiloContractState: Object

Type declaration

Name Type
contributions Object
initialized ADTValue
total_contributions string

Defined in

zilo.ts:16