- uUSDC Contract address
- uUSDC Contract abi
- USDC Contract address
- USDC Contract abi
- Network: Ropsten
- Caller 要有 USDC
- Caller 呼叫
approve(address _spender, uint256 _value)
of USDC,_spender 設定為 uUSDC contract address - Caller 呼叫
mint(uint256 underlyingToSupply)
of uUSDC,uUSDC 會從 caller 轉出數量為underlyingToSupply
的 USDC,並發行數量為underlyingToSupply
* 0.9 的 uUSDC Token 給 caller
- Caller 呼叫
balanceOf(address _tokenHolder)
of uUSDC,可以查詢 address 的 餘額
- Caller 呼叫
transfer(address recipient, uint256 amount)
of uUSDC,可以 transferamount
token to recipient
underlyingToSupply 是我要存入的 usdc 量嗎?是的
balanceOf() 是查什麼的 balance?查詢用戶的 uToken 餘額