FeeContractState
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / FeeContractState
Interface: FeeContractState
Section titled “Interface: FeeContractState”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4376
Fee contract state
Properties
Section titled “Properties”owner:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4378
Contract owner (can update config)
treasury
Section titled “treasury”treasury:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4380
Treasury account
config
Section titled “config”config:
ChainFeeConfig
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4382
Current fee configuration
totalCollected
Section titled “totalCollected”totalCollected:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4384
Total fees collected
paused
Section titled “paused”paused:
boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4386
Paused state
governanceContract?
Section titled “governanceContract?”
optionalgovernanceContract:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4388
Governance contract (if applicable)