DexPlatform

Setting initial data when deploying new account or pair.

Smart contract used for setting initial data when deploying new account or pair.

constructor

constructor(TvmCell code, uint32 version, address vault, address send_gas_to) public

Initializes DexPlatform contract if the message sender is root or does the transfer to send_gas_to address.

Parameters:

_initialize

function _initialize(TvmCell code, uint32 version, address vault, address send_gas_to) private

Initializes DexPlatform contract, stores parameters in TvmBuilder, sets current code and runs onCodeUpgrade from new code.

Parameters:

Last updated