We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Depends on #1, #5, #7
/social-app
account_data
/discord-bot
issue_challenge
challenged_address
wager_value
message
create_challenge()
[actions](pistols::actions)
accept_challenge
duel_id
accept
reply_challenge()
pistols::actions
The actions interface on Pistols:
fn create_challenge(self: @TContractState, challenged: ContractAddress, message: felt252, wager_coin: u8, wager_value: u256, expire_seconds: u64, ) -> u128; fn reply_challenge(self: @TContractState, duel_id: u128, accepted: bool, ) -> ChallengeState;
The text was updated successfully, but these errors were encountered:
rsodre
No branches or pull requests
Depends on #1, #5, #7
Tasks
/social-app
to store a new field:account_data
/discord-bot
issue_challenge
challenged_address
, containing the challenged duelist OR Discord user Idwager_value
(optional)message
(optional)create_challenge()
method on the[actions](pistols::actions)
systemaccept_challenge
duel_id
accept
, a boolean as True by defaultreply_challenge()
method on thepistols::actions
systemThe actions interface on Pistols:
Notes
The text was updated successfully, but these errors were encountered: