Open web4er opened 1 year ago
Tests for /wallet with newly added config option REGISTER_WALLET_WITH_VERIFICATION
First, testing with default option:
DEFAULT_REGISTER_WALLET_WITH_VERIFICATION = false
in configREGISTER_WALLET_WITH_VERIFICATION
should show correct /wallet help
/help
- /assign: Assign the origin sender to the issue automatically.
- /unassign: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /multiplier: Set the bounty payout multiplier for a specific contributor, and provide the reason for why.
example usage: "/wallet @user 0.5 'Multiplier reason'"
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME>: Register the hunter's wallet address.
ex1: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76
ex2: /wallet vitalik.eth
should ignore wallet command because it doesn't contain wallet address
/wallet
Please include your wallet or ENS address. usage: /wallet 0x0000000000000000000000000000000000000000
should accept wallet address
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
should accept wallet but ignore signed hash if any because signed hash is not needed
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0xe2a3e34a63f3def2c29605de82225b79e1398190b542be917ef88a8e93ff9dc91bdc3ef9b12ed711550f6d2cbbb50671aa3f14a665b709ec391f3e603d0899a41b
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
setting register-wallet-with-verification: true
should not accept wallet without signature
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH.
Use etherscan to sign the message DevPool
and register your wallet by appending the signature hash.
Usage:
/wallet <WALLET_ADDRESS | ENS_NAME>
Example: /wallet 0x16ce4d863eD687455137576da2A0cbaf4f1E8f76 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/help
- /assign: Assign the origin sender to the issue automatically.
- /unassign: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /query: Comments the users multiplier and address
- /multiplier: Set the bounty payout multiplier for a specific contributor, and provide the reason for why.
example usage: "/wallet @user 0.5 'Multiplier reason'"
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME> <SIGNATURE_HASH>: Register the hunter's wallet address.
Your message to sign is: DevPool
You can generate SIGNATURE_HASH at https://etherscan.io/verifiedSignatures
ex1: /wallet 0x0000000000000000000000000000000000000000 0xe2a3e34a63f3def2c29605de82225b79e1398190b542be917ef88a8e93ff9dc91bdc3ef9b12ed711550f6d2cbbb50671aa3f14a665b709ec391f3e603d0899a41b
ex2: /wallet vitalik.eth 0x75329f883590507e581cd6dfca62680b6cd12e1f1665db8097f9e642ed70025146b5cf9f777dde90c4a9cbd41500a6bf76bc394fd0b0cae2aab09f7a6f30e3b31b
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Skipping to register the wallet address because you have not provided a valid SIGNATURE_HASH.
Use etherscan to sign the message DevPool
and register your wallet by appending the signature hash.
Usage:
/wallet <WALLET_ADDRESS | ENS_NAME>
Example: /wallet 0x0000000000000000000000000000000000000000 0x0830f316c982a7fd4ff050c8fdc1212a8fd92f6bb42b2337b839f2b4e156f05a359ef8f4acd0b57cdedec7874a865ee07076ab2c81dc9f9de28ced55228587f81c
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2 0x02aa024ce04bfe53648d410cee03a046c54e6ec558b26e376b207cf36c8685404e00e7e2ccb0ba5114f1b890c90881f016f628efbb21c930db789c157690e58c1b
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
/assign
Deadline | Sun, 30 Jul 2023 21:57:36 UTC |
Registered Wallet | Please set your wallet address to use `/wallet 0x0000...0000` |
Payment Multiplier | 1.00 |
Multiplier Reason | undefined |
Total Bounty | Permit generation skipped since price label is not set |
/wallet 0x0000...0000
if you want to update your registered payment wallet address @user./unassign
You have been unassigned from the bounty @web4er
Add config param to enable/disable wallet signature