Global Variables

Global Variables

The purpose of Global variables are

List of Global Variables

1. admin

  • Type: CertifiedOptBlob

  • Description: Represents the admin principal related field.

  • Initialization Function: initialize_admin

2. transfer_admin

  • Type: CertifiedOptBlob

  • Description: Represents the

  • Initialization Function: initialize_transfer_admin

3. fee_manager

  • Type: CertifiedOptBlob

  • Description: Represents the fee manager principal related field.

  • Initialization Function: initialize_fee_manager

4. blocks_per_year

  • Type: CertifiedOptBlob

  • Description: Represents the number of blocks per year.

  • Initialization Function: initialize_blocks_per_year

5. block_time

  • Type: CertifiedOptBlob

  • Description: Represents the block time in nanoseconds.

  • Initialization Function: initialize_block_time

6. block

  • Type: CertifiedOptBlob

  • Description: Represents the current block number.

  • Initialization Function: initialize_block

7. market_counts

  • Type: CertifiedOptBlob

  • Description: Represents the count of markets.

  • Initialization Function: initialize_market_counts

8. test_mode

  • Type: CertifiedOptBlob

  • Description: Indicates if the system is in test mode.

  • Initialization Function: initialize_test_mode

9. initialized_as_test_mode

  • Type: CertifiedOptBlob

  • Description: Indicates if the system was initialized in test mode.

  • Initialization Function: initialize_initialized_as_test_mode

10. set_paused

  • Type: CertifiedOptBlob

  • Description: Represents the global paused state.

  • Initialization Function: initialize_pause

11. revenue_fee

  • Type: CertifiedOptBlob

  • Description: Represents the revenue fee.

  • Initialization Function: initialize_revenue_fee

12. time_waited_after_paused

  • Type: CertifiedOptBlob

  • Description: Represents the time waited after the system was paused.

  • Initialization Function: initialize_time_waited_after_pause

13. max_book_size

  • Type: CertifiedOptBlob

  • Description: Represents the maximum book size.

  • Initialization Function: initialize_max_book_size

14. liquidator_size

  • Type: CertifiedOptBlob

  • Description: Represents the size of the liquidator.

  • Initialization Function: initialize_liquidator_size

15. max_liquidator_size

  • Type: CertifiedOptBlob

  • Description: Represents the maximum size of the liquidator.

  • Initialization Function: initialize_max_liquidator_size

16. max_xrc_rel_std_to_mean_mantissa

  • Type: CertifiedOptBlob

  • Description: Represents the maximum XRC relative standard deviation to mean mantissa.

  • Initialization Function: initialize_max_xrc_rel_std_to_mean_mantissa

17. min_xrc_sources

  • Type: CertifiedOptBlob

  • Description: Represents the minimum number of XRC sources.

  • Initialization Function: initialize_min_xrc_sources

18. min_xrc_dollar_decimals

  • Type: CertifiedOptBlob

  • Description: Represents the minimum number of XRC dollar decimals.

  • Initialization Function: initialize_min_xrc_dollar_decimals

19. pause_guardian

  • Type: CertifiedOptBlob

  • Description: Represents the pause guardian principal related field.

  • Initialization Function: initialize_pause_guardian

20. transfer_pause_guardian

  • Type: CertifiedOptBlob

  • Description: There is a two step signing process for

  • Initialization Function: initialize_transfer_pause_guardian

Last updated