Crate tetsy_contract_address[−][src]
Tetsy Contract Address
Provides a function to create a vapory contract address.
Examples
Create a vapory address from sender and nonce.
use tetsy_contract_address::{ Address, U256, ContractAddress }; use std::str::FromStr; let sender = Address::from_str("0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6").unwrap(); let tetsy_contract_address = ContractAddress::from_sender_and_nonce(&sender, &U256::zero());
Structs
H256 | Fixed-size uninterpreted hash type with 32 bytes (256 bits) size. |
TetsyContractAddress | Represents an vapory contract address |
U256 | Little-endian large integer type |
Type Definitions
Address |