|
| | MPTTester (Env &env, Account const &issuer, MPTInit const &constr={}) |
| |
| void | create (MPTCreate const &arg=MPTCreate{}) |
| |
| void | destroy (MPTDestroy const &arg=MPTDestroy{}) |
| |
| void | authorize (MPTAuthorize const &arg=MPTAuthorize{}) |
| |
| void | set (MPTSet const &set={}) |
| |
| bool | checkDomainID (std::optional< uint256 > expected) const |
| |
| bool | checkMPTokenAmount (Account const &holder, std::int64_t expectedAmount) const |
| |
| bool | checkMPTokenOutstandingAmount (std::int64_t expectedAmount) const |
| |
| bool | checkFlags (uint32_t const expectedFlags, std::optional< Account > const &holder=std::nullopt) const |
| |
| bool | checkMetadata (std::string const &metadata) const |
| |
| bool | isMetadataPresent () const |
| |
| bool | checkTransferFee (std::uint16_t transferFee) const |
| |
| bool | isTransferFeePresent () const |
| |
| Account const & | issuer () const |
| |
| Account const & | holder (std::string const &h) const |
| |
| void | pay (Account const &src, Account const &dest, std::int64_t amount, std::optional< TER > err=std::nullopt, std::optional< std::vector< std::string > > credentials=std::nullopt) |
| |
| void | claw (Account const &issuer, Account const &holder, std::int64_t amount, std::optional< TER > err=std::nullopt) |
| |
| PrettyAmount | mpt (std::int64_t amount) const |
| |
| MPTID const & | issuanceID () const |
| |
| std::int64_t | getBalance (Account const &account) const |
| |
| MPT | operator[] (std::string const &name) const |
| |
Definition at line 132 of file mpt.h.