Web3S_Demo
>
Web 3S Filecoin Function Library
Web 3S Filecoin Function Library
Filecoin Blockchain Blueprint Function Library.
Inheritance Hierarchy
References
|
Module
|
Web3S_Blockchain_Runtime |
|
Header
|
Plugins/Web3S_Plugin/Source/Web3S_Blockchain_Runtime/Public/Blockchain/Web3S_FilecoinFunctionLibrary.h |
|
Source
|
Plugins/Web3S_Plugin/Source/Web3S_Blockchain_Runtime/Private/Blockchain/Web3S_FilecoinFunctionLibrary.cpp |
|
Include
|
Blockchain/Web3S_FilecoinFunctionLibrary.h |
Functions
|
Ethereum Address to Filecoin Address
|
Converts an Ethereum Address into a f410/t410 Filecoin Address. |
|
Filecoin Address to Ethereum Address
|
Converts a f410/t410 Filecoin Address into an Ethereum Address. |
|
FilecoinValueToDec
|
Converts uint256 to String in decimal notation. |
|
Get Filecoin configuration
|
Gets configuration data for a specific Filecoin network needed to send RPC calls to. |
|
Make FIL Value
|
Tries to parse the input string value to a Filecoin value stored in an uint256 data type.
If the string value is prefixed with "0x" it will be interpreted as a hex value, otherwise as a decimal value. |
|
Make Filecoin Value (Fractional)
|
Tries to parse the input string to a Filecoin value stored in an uint256 data type.
This function can handle fractional values as inputs but will eventually truncate the fractional part
after applying the unit conversion operation.
The input string must be a decimal value (i.e. no hex string inputs allowed). |