Receivable

Git Source

Namespace for the structs used in Receivable

Structs

Create

struct Create {
    address buyer;
    address seller;
    uint256 faceAmount;
    uint256 repaymentTimestamp;
    uint16 currencyCode;
}

Properties

NameTypeDescription

buyer

address

The address of the buyer that's expected to pay for this receivable.

seller

address

The address of the seller that's expected to receive payment for this receivable.

faceAmount

uint256

The amount of the receivable.

repaymentTimestamp

uint256

The timestamp when the receivable is expected to be repaid.

currencyCode

uint16

The currency code specified by ISO 4217 in which the receivable is expressed, e.g. 840 for USD.

Info

struct Info {
    address buyer;
    address seller;
    uint256 faceAmount;
    uint256 repaymentTimestamp;
    bool isValid;
    uint16 currencyCode;
}

Last updated