ICapitalAsset

Git Source

A contract that orchestrates advanced corporate actions by interacting with one or more Token contracts. This keeps the heavy logic out of each Token, focusing it here instead.

Functions

adjustToken

function adjustToken(bytes32 oldTokenId, uint96 newQuantity, uint96 newCostBasis, string calldata reason)
    external
    returns (bytes32 newTokenId);

getToken

function getToken(bytes32 tokenId)
    external
    view
    returns (
        bytes32 parentTokenId,
        bool isValid,
        uint96 quantity,
        uint96 costBasis,
        uint64 acquisitionDate,
        uint64 lastUpdate
    );

Last updated

Was this helpful?