Solidity API
DBUX
The DBUX contract, utilizing the Spanning Protocol for multichain functionality.
constructor
constructor(address delegateLegacyAddress) public
Creates the contract, initializing various base contracts.
Name | Type | Description |
---|---|---|
delegateLegacyAddress | address | - Legacy (local) Address of the Delegate |
decimals
function decimals() public view virtual returns (uint8)
Name | Type | Description |
---|---|---|
[0] | uint8 | uint8 - Number of decimals used to get a user representation. |
mint
function mint(uint256 amount) public
Mint DBUX
mint
function mint(address receiverLegacyAddress, uint256 amount) public
Mint DBUX
Name | Type | Description |
---|---|---|
receiverLegacyAddress | address | - Legacy (local) address that DBUX is minted to |
amount | uint256 |
mint
function mint(bytes32 receiverAddress, uint256 amount) public
Mint DBUX