ISecurityToken.sol

ISecurityToken

Git Source

Interface for the SecurityToken contract

Defines the structure and behavior for SecurityToken implementations

Functions

initializeAuthority

Initializes the authority for the SecurityToken

This function should be called before the main initialize function

function initializeAuthority(address initialAuthority) external;

Parameters

NameTypeDescription

initialAuthority

address

The address to be set as the initial authority

initialize

Initializes the SecurityToken with given parameters

This function should be called immediately after deployment

function initialize(InitializeParams calldata params) external;

Parameters

NameTypeDescription

params

InitializeParams

Struct containing all initialization parameters

Structs

InitializeParams

Struct containing parameters for initializing a SecurityToken

Used in the initialize function to set up the token

struct InitializeParams {
    string name;
    string symbol;
    uint256 granularity;
    address[] controllers;
    bytes32[] defaultPartitions;
    address extension;
    address owner;
    address minter;
}

Last updated