Constants
Solidity constants usually look like plain strings or numeric values on the contract. In Move, string constants are often represented as byte vectors and converted when needed.
Solidity
Section titled “Solidity”string private constant DUTCH_AUCTION_COLLECTION_NAME = "DUTCH_AUCTION_NAME";string private constant DUTCH_AUCTION_COLLECTION_SYMBOL = "DUTCH_AUCTION_SYMBOL";string private constant DUTCH_AUCTION_COLLECTION_URI = "DUTCH_AUCTION_URI";const ENOT_OWNER: u64 = 1;const EOUTDATED_AUCTION: u64 = 4;
const DUTCH_AUCTION_COLLECTION_NAME: vector<u8> = b"DUTCH_AUCTION_NAME";const DUTCH_AUCTION_COLLECTION_DESCRIPTION: vector<u8> = b"DUTCH_AUCTION_DESCRIPTION";const DUTCH_AUCTION_COLLECTION_URI: vector<u8> = b"DUTCH_AUCTION_URI";const DUTCH_AUCTION_SEED_PREFIX: vector<u8> = b"AUCTION_SEED_PREFIX";The seed prefix is especially important in Aptos because it helps derive deterministic object addresses for later lookup.