[−][src]Module nash_protocol::types::blockchain
Types used across protocol requests for constructing and validating blockchain payload data. Any types specific to an individual protocol request will live in the respective module.
Modules
| btc | Bitcoin specific types shared across protocol requests |
| eth | Ethereum specific types shared across protocol requests |
| neo | NEO specific types shared across protocol requests |
Enums
| Address | |
| AssetOrCrosschain | An asset in the Ethereum and NEO smart contract protocols is represented either by an asset id or an indicator that the trade is occurring across blockchains. |
| MovementType | Wrapper type for the two kinds of movments: deposit and withdrawal |
| Prefix | The type prefix indicates what operation this data represents. This is
encoded by 1 byte in the protocol. For example, a payload representing
the fill order operation has |
| PublicKey |
Functions
| bigdecimal_to_nash_prec | Convert a bigdecimal to precision expected by the Nash ME Nash ME defines precision as only digits right of decimal point |
| bigdecimal_to_nash_u64 | Convert a bigdecimal |
| nash_u64_to_bigdecimal |