Skip to main content

Namespace: Mangrove

Type Aliases​

RawConfig​

Ζ¬ RawConfig: Awaited<ReturnType<typechain.MgvReader["functions"][``"configInfo"``]>>

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:42


LocalConfig​

Ζ¬ LocalConfig: Object

Type declaration​

NameType
activeboolean
feenumber
densityDensity
offer_gasbasenumber

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:46


LocalConfigFull​

Ζ¬ LocalConfigFull: LocalConfig & { lock: boolean ; last: number | undefined ; binPosInLeaf: number ; root: number ; level1: ethers.BigNumber ; level2: ethers.BigNumber ; level3: ethers.BigNumber }

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:53


GlobalConfig​

Ζ¬ GlobalConfig: Object

Type declaration​

NameType
monitorstring
useOracleboolean
notifyboolean
gaspricenumber
gasmaxnumber
deadboolean
maxRecursionDepthnumber
maxGasreqForFailingOffersnumber

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:63


SimplePermitData​

Ζ¬ SimplePermitData: Object

Type declaration​

NameType
outbound_tknstring
inbound_tknstring
ownerstring
spenderstring
valueethers.BigNumber
nonce?number | ethers.BigNumber
deadlinenumber | Date

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:74


PermitData​

Ζ¬ PermitData: Object

Type declaration​

NameType
outbound_tknstring
inbound_tknstring
ownerstring
spenderstring
valueethers.BigNumber
nonceethers.BigNumber
deadlinenumber

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:84


OpenMarketInfo​

Ζ¬ OpenMarketInfo: KeyResolved & { asksConfig?: LocalConfig ; bidsConfig?: LocalConfig }

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:94


CreateOptions​

Ζ¬ CreateOptions: CreateSignerOptions & { shouldNotListenToNewEvents?: boolean ; blockManagerOptions?: BlockManager.Options ; reliableWebsocketProviderOptions?: ReliableWebsocketProvider.Options ; reliableHttpProviderOptions?: ReliableHttpProvider.Options }

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:99


Configuration​

Ζ¬ Configuration: Configuration

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:106


PartialConfiguration​

Ζ¬ PartialConfiguration: PartialConfiguration

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:108


OfferProvisionParams​

Ζ¬ OfferProvisionParams: Object

Parameters used to calculate provision for an offer

Param

the gas price for the offer in Mwei.

Param

the gas requirement for the offer

Param

the offer list's offer_gasbase.

Type declaration​

NameType
gaspricenumber
gasreqnumber
gasbasenumber

Defined in​

@mangrovedao/mangrove.js/src/mangrove.ts:115

  • Type Aliases
    • RawConfig
    • LocalConfig
    • LocalConfigFull
    • GlobalConfig
    • SimplePermitData
    • PermitData
    • OpenMarketInfo
    • CreateOptions
    • Configuration
    • PartialConfiguration
    • OfferProvisionParams