|
| | TemplateTransactionBuilder () |
| |
| auto | creatorAccountId (const interface::types::AccountIdType &account_id) const |
| |
| auto | batchMeta (interface::types::BatchType type, std::vector< interface::types::HashType > hashes) const |
| |
| auto | createdTime (interface::types::TimestampType created_time) const |
| |
| auto | quorum (interface::types::QuorumType quorum) const |
| |
| auto | addAssetQuantity (const interface::types::AssetIdType &asset_id, const std::string &amount) const |
| |
| auto | addPeer (const interface::types::AddressType &address, interface::types::PublicKeyHexStringView peer_key, const std::optional< interface::types::TLSCertificateType > &tls_certificate=std::nullopt) const |
| |
| auto | removePeer (interface::types::PublicKeyHexStringView public_key) const |
| |
| auto | addSignatory (const interface::types::AccountIdType &account_id, interface::types::PublicKeyHexStringView public_key) const |
| |
| auto | removeSignatory (const interface::types::AccountIdType &account_id, interface::types::PublicKeyHexStringView public_key) const |
| |
| auto | callEngine (const interface::types::AccountIdType &caller, std::optional< interface::types::EvmCalleeHexStringView > callee, interface::types::EvmCodeHexStringView input) const |
| |
| auto | appendRole (const interface::types::AccountIdType &account_id, const interface::types::RoleIdType &role_name) const |
| |
| auto | createAsset (const interface::types::AssetNameType &asset_name, const interface::types::DomainIdType &domain_id, interface::types::PrecisionType precision) const |
| |
| auto | createAccount (const interface::types::AccountNameType &account_name, const interface::types::DomainIdType &domain_id, interface::types::PublicKeyHexStringView main_pubkey) const |
| |
| auto | createDomain (const interface::types::DomainIdType &domain_id, const interface::types::RoleIdType &default_role) const |
| |
| auto | createRole (const interface::types::RoleIdType &role_name, const interface::RolePermissionSet &permissions) const |
| |
| auto | detachRole (const interface::types::AccountIdType &account_id, const interface::types::RoleIdType &role_name) const |
| |
| auto | grantPermission (const interface::types::AccountIdType &account_id, interface::permissions::Grantable permission) const |
| |
| auto | revokePermission (const interface::types::AccountIdType &account_id, interface::permissions::Grantable permission) const |
| |
| auto | setAccountDetail (const interface::types::AccountIdType &account_id, const interface::types::AccountDetailKeyType &key, const interface::types::AccountDetailValueType &value) const |
| |
| auto | setAccountQuorum (const interface::types::AddressType &account_id, interface::types::QuorumType quorum) const |
| |
| auto | subtractAssetQuantity (const interface::types::AssetIdType &asset_id, const std::string &amount) const |
| |
| auto | transferAsset (const interface::types::AccountIdType &src_account_id, const interface::types::AccountIdType &dest_account_id, const interface::types::AssetIdType &asset_id, const interface::types::DescriptionType &description, const std::string &amount) const |
| |
| auto | setSettingValue (const interface::types::SettingKeyType &key, const interface::types::SettingValueType &value) const |
| |
| auto | build () const |
| |
template<int S = 0, typename SV = validation::DefaultUnsignedTransactionValidator, typename BT = UnsignedWrapper<Transaction>>
class shared_model::proto::TemplateTransactionBuilder< S, SV, BT >
Template tx builder for creating new types of transaction builders by means of replacing template parameters
- Template Parameters
-
| S | – field counter for checking that all required fields are set |
| SV | – stateless validator called when build method is invoked |
| BT | – build type of built object returned by build method |