Security Token contract (mock) (MockSecurityTokenLogic.sol)

View Source: contracts/mocks/MockSecurityTokenLogic.solโ€‹

โ†— Extends: SecurityTokenโ€‹

MockSecurityTokenLogic

SecurityToken is an ERC1400 token with added capabilities:

Contract Members

Constants & Variables

uint256 public someValue;

Events

event UpgradeEvent(uint256 _upgrade);

Functions

upgrade

Initialization function

function upgrade(address _getterDelegate, uint256 _upgrade) external nonpayable

Arguments

Name

Type

Description

_getterDelegate

address

โ€‹

_upgrade

uint256

โ€‹

initialize

Initialization function

function initialize(address _getterDelegate, uint256 _someValue) public nonpayable

Arguments

Name

Type

Description

_getterDelegate

address

โ€‹

_someValue

uint256

โ€‹

newFunction

function newFunction(uint256 _upgrade) external nonpayable

Arguments

Name

Type

Description

_upgrade

uint256

โ€‹

addModuleWithLabel

โคพ overrides SecurityToken.addModuleWithLabelโ€‹

function addModuleWithLabel(address , bytes , uint256 , uint256 , bytes32 , bool ) public nonpayable

Arguments

Name

Type

Description

โ€‹

address

โ€‹

โ€‹

bytes

โ€‹

โ€‹

uint256

โ€‹

โ€‹

uint256

โ€‹

โ€‹

bytes32

โ€‹

โ€‹

bool

โ€‹