Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create red packet #3868

Open
xiaopengyou218 opened this issue Jan 27, 2025 · 0 comments
Open

Failed to create red packet #3868

xiaopengyou218 opened this issue Jan 27, 2025 · 0 comments

Comments

@xiaopengyou218
Copy link

xiaopengyou218 commented Jan 27, 2025

Description

ContractFunctionExecutionError: The contract function "create_red_packet" reverted with the following reason:
Internal JSON-RPC error.

Contract Call:
address: 0x93e0b87A0aD0C991dc1B5176ddCD850c9a78aabb
function: create_red_packet(address _public_key, uint256 _number, bool _ifrandom, uint256 _duration, bytes32 _seed, string _message, string _name, uint256 _token_type, address _token_addr, uint256 _total_tokens)
args: (0x002a5ba297db4de6b09c788963c0fa55dd1f864e, 5, true, 86400, 0xe2057ed2de2e70b42aae74efaf9ac969f3e7e74fcf7a5d627f2030015d1f30fd, Best Wishes!, bright_wdy, 0, 0x0000000000000000000000000000000000000000, 2000000000000000000)
sender: 0x387544F796a05528C9D05403836262DfA84a2E41

Docs: https://viem.sh/docs/contract/writeContract
Version: [email protected]
at s (https://firefly.mask.social/_next/static/chunks/3336-d12f22c6887c6fa6.js:31:74855)
at u (https://firefly.mask.social/_next/static/chunks/3336-d12f22c6887c6fa6.js:3:2072162)
at async l (https://firefly.mask.social/_next/static/chunks/3336-d12f22c6887c6fa6.js:3:1979365)
at async https://firefly.mask.social/_next/static/chunks/app/layout-fe9572f34ee3adc5.js:1:372817
at async onClick (https://firefly.mask.social/_next/static/chunks/app/layout-fe9572f34ee3adc5.js:1:383373)

Extra Information

  • Version: 6.7.0
  • Environment: production
  • Commit Hash: 6f9a5d5
  • UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
  • Timestamp: 2025-01-27T14:40:30.849Z
@github-actions github-actions bot changed the title Failed%20to%20create%20red%20packet Failed to create red packet Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant