Interact with Dyson Finance contracts on Sepolia testnet
Getting Started
The Alpha version of Dyson Finance contracts operates on Sepolia testnet. To interact with Dyson Finance, you may need some tokens and NFT for testing. You can get these tokens via Faucet.
The msg.sender of this call will receive 10000 $DYSN, 25000 $USDC and 1 $WBTC for test usage.
functionclaimToken()external
Utilize these tokens for swapping within pairs or engage in a dual investment deposit to pairs. Further insights can be gleaned by reading the information presented in the following sections.
claimAgent
The msg.sender of this call will receive a Tier1 Agent NFT.
functionclaimAgent()external
After receiving the NFT, you can check your NFT information through the following steps:
Get your NFT ID by calling the mapping whois in Agent contract with your address.
mapping(address=>uint)public whois
Retrieve detailed information about your NFT by invoking the getAgent function with your NFT ID. The returned values include the agent owner, agent tier number, agent birth timestamp, agent parent ID, and an array of agent children IDs in sequence.
To solely inquire about your parent address and tier number, a direct call to the userInfo function with your address in the Agent contract will suffice.