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β
Name | Type |
---|---|
active | boolean |
fee | number |
density | Density |
offer_gasbase | number |
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β
Name | Type |
---|---|
monitor | string |
useOracle | boolean |
notify | boolean |
gasprice | number |
gasmax | number |
dead | boolean |
maxRecursionDepth | number |
maxGasreqForFailingOffers | number |
Defined inβ
@mangrovedao/mangrove.js/src/mangrove.ts:63
SimplePermitDataβ
Ζ¬ SimplePermitData: Object
Type declarationβ
Name | Type |
---|---|
outbound_tkn | string |
inbound_tkn | string |
owner | string |
spender | string |
value | ethers.BigNumber |
nonce? | number | ethers.BigNumber |
deadline | number | Date |
Defined inβ
@mangrovedao/mangrove.js/src/mangrove.ts:74
PermitDataβ
Ζ¬ PermitData: Object
Type declarationβ
Name | Type |
---|---|
outbound_tkn | string |
inbound_tkn | string |
owner | string |
spender | string |
value | ethers.BigNumber |
nonce | ethers.BigNumber |
deadline | number |
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β
Name | Type |
---|---|
gasprice | number |
gasreq | number |
gasbase | number |
Defined inβ
@mangrovedao/mangrove.js/src/mangrove.ts:115