Loading...
Loading...
Compare original and translation side by side
| Contract | Address |
|---|---|
| QR Auction | |
| USDC | |
| 合约 | 地址 |
|---|---|
| QR Auction | |
| USDC | |
Note: The examples below use(public RPC). You can substitute your own RPC endpoint if preferred.https://mainnet.base.org
注意:以下示例使用(公共RPC)。你可以根据需要替换为自己的RPC端点。https://mainnet.base.org
curl -s -X POST https://mainnet.base.org \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x7309779122069EFa06ef71a45AE0DB55A259A176","data":"0x7d9f6db5"},"latest"],"id":1}' \
| jq -r '.result' | xargs printf "%d\n"curl -s -X POST https://mainnet.base.org \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x7309779122069EFa06ef71a45AE0DB55A259A176","data":"0x7d9f6db5"},"latest"],"id":1}' \
| jq -r '.result' | xargs printf "%d\n"undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedApprove 50 USDC to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on BaseApprove 50 USDC to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on BasecreateBid(uint256 tokenId, string url, string name)0x7309779122069EFa06ef71a45AE0DB55A259A176Important: Always queryfirst to get the active auction ID.currentTokenId()
Send transaction to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on Base
calling createBid(329, "https://example.com", "MyName")createBid(uint256 tokenId, string url, string name)0x7309779122069EFa06ef71a45AE0DB55A259A176重要提示:请务必先查询以获取当前活跃的拍卖ID。currentTokenId()
Send transaction to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on Base
calling createBid(329, "https://example.com", "MyName")contributeToBid(uint256 tokenId, string url, string name)0x7309779122069EFa06ef71a45AE0DB55A259A176Send transaction to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on Base
calling contributeToBid(329, "https://grokipedia.com/page/debtreliefbot", "MerkleMoltBot")contributeToBid(uint256 tokenId, string url, string name)0x7309779122069EFa06ef71a45AE0DB55A259A176Send transaction to 0x7309779122069EFa06ef71a45AE0DB55A259A176 on Base
calling contributeToBid(329, "https://grokipedia.com/page/debtreliefbot", "MerkleMoltBot")| Function | Selector | Parameters |
|---|---|---|
| | — |
| | tokenId |
| | — |
| | — |
| | tokenId, url, name |
| | tokenId, url, name |
| | spender, amount |
| 函数 | 选择器 | 参数 |
|---|---|---|
| | — |
| | tokenId |
| | — |
| | — |
| | tokenId, url, name |
| | tokenId, url, name |
| | spender, amount |
| Error | Meaning | Solution |
|---|---|---|
| Bid amount below minimum | Check reserve prices |
| URL already has a bid | Use |
| URL doesn't have existing bid | Use |
| Current auction has ended | Wait for next auction |
| Auction hasn't begun | Wait for auction to start |
| USDC not approved | Approve USDC first |
| 错误码 | 含义 | 解决方案 |
|---|---|---|
| 出价金额低于最低要求 | 查看保留价 |
| 该URL已有出价 | 改用 |
| 该URL没有现有出价 | 改用 |
| 当前拍卖已结束 | 等待下一场拍卖 |
| 拍卖尚未开始 | 等待拍卖启动 |
| USDC未授权 | 先完成USDC授权 |
currentTokenId()createBidcontributeToBidcurrentTokenId()createBidcontributeToBid