Capx Agent Contracts
➹createAgent
function (or a similar internal method). This function deploys a new, distinct ERC-20 compliant smart contract for the agent.
1,000,000,000
(one billion) tokens are minted to a totalSupply
variable within the new token contract. This supply is immutable; the ERC-20 contract itself will contain no mint()
or burn()
functions callable post-deployment, ensuring absolute supply predictability.name()
: Derived from the agent’s registered name (e.g., “Agent X Token”).symbol()
: A unique ticker (e.g., “AXT”).decimals()
: Standard ERC-20 decimal places (typically 18).totalSupply
is programmatically transferred to predefined addresses or vesting contracts. This distribution is determined by allocation rules.
registerToken(address agentTokenContract, bytes32 agentIdentifier)
: When the Token Factory creates a new agent token, it (or an authorized address) calls this function to log the new token contract’s address alongside a unique identifier for the AI agent (e.g., a hash of its metadata or deployment ID).