Scenario guide info
For implementing a real and well-covered Scenario, we need to have users with valid data and situations.
Here you can find almost all possible situations. You can find user ETH wallet address and the point and data we expect to see on Arweave based on the PDAs User has. It will be updated if more situations were found.
Data model ID for each house
Here are the Data Model IDs used for each house, you can find more information about each Data Model by searching the ID on **https://sandbox.mygateway.xyz** .
Citizen Data Model ID : 4d83ed96-efa5-422f-8ca5-3f489b49aad4
Builder Data Model ID : 02dca68f-4b5e-42a8-bf66-71b91cdb700a
Staker Data Model ID : d3af5bc7-0fd4-4f01-9522-aa9c02ad76a7
All valid and possible situations
-
User A:
- Issued PDA for User A:
- Citizen PDA with POKT DAO Quest
- User ETH wallet address:
0x906AE094dD28Aa02cFBfAe776B800d4a7903e2F2
- User Gateway ID :
pattern1
- ⇒ It is expected to find the user with this ETH wallet address to have 1 PDA and 0 as citizen point.
-
User B:
- Issued PDAs for User B:
- Citizen PDA with POKT DNA Quest
- User ETH wallet address:
0xe84D8bE4df65986bbee7c31992C36be6D4AbF6a5
- User Gateway ID:
pattern2
- ⇒ It is expected not to find the User with this ETH wallet address because there is no PDA with POKT DAO Quest for this User, so the User does not have ETH wallet address (for voting) and will be ignored.
-
User C:
- Issued PDs for User C:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- User ETH wallet address:
0x7923232a8E880CAB98123f30DE49F7b4305b67f9
- User Gateway ID:
pattern3
- ⇒ It is expected to find the User with this ETH wallet address to have 2 PDAs and 1 as citizen point .
-
User D:
-
Issued PDAs for User D:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- Builder PDA with Protocol Builder data ( 2 points )
- Builder PDA with Priority Builder data ( 2 points )
Please do consider this: the sum is less than 10, so the sum will be set as point
-
User ETH wallet address: 0x959836EAec8fF42B708b7D5F8071B6e206ED8D64
-
User Gateway ID: pattern4
-
⇒ It is expected to find the User with this ETH wallet address to have 2 PDAs with POKT DAO and POKT DNA Quest and 2 PDAs with Protocol Builder and Priority Builder Builder Type. Citizen point should be 1 and builder point should be 4 .
-
User E:
- Issued PDAs for User E:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- Builder PDA with DAO Scholar data ( 2 points )
- Builder PDA with OG Governor data ( 8 points )
- Builder PDA with Thought Leader data ( 2 points )
Please do consider this: the sum is greater than 10, so 10 will be set as point.
- User ETH wallet address:
0x9181a3b3ad8Ba29B6ff755183717392a1cf49375
- User Gateway ID:
pattern5
- ⇒ It is expected to find the User with this ETH wallet address to have 2 PDAs with POKT DAO and POKT DNA Quest and 3 PDAs with OG Governor, DAO Scholar and Thought Leader Builder Type. Citizen point should be 1 and builder point should be 10 .
-
User F:
- Issued PDAs for User F:
- Citizen PDA with POKT DAO Quest
- Builder PDA with Socket Builder data ( 2 points )
- Builder PDA with Bounty Hunter data ( 2 points )
- Builder PDA with Proposal Builder data ( 2 points )
- User Gateway ID:
pattern6
- User ETH wallet address:
0x7f5B8015AB71BfCAF3457d1AEc9C284f489852b4
- ⇒ It is expected to find the User with this ETH wallet address to have 1 PDA with POKT DAO Quest and 3 PDAs with Socket Builder, Bounty Hunter and Proposal Builder Builder Type. Citizen point should be 0 and builder point should be 6 .
-
User G:
- Issued PDAs for User G:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- Staker PDA ( Validator ) with custodian type ( staked amount = 300 k )
- Staker PDA ( Validator ) with non-custodian type ( staked amount = 600 k )
- User ETH wallet address:
0xf34c63ad647E9805D02415ce458600306D71017B
- User Gateway ID:
pattern7
- ⇒ It is expected to find the User with this ETH wallet address has 2 PDAs with POKT DAO and POKT DNA Quest and 2 PDAs with custodian and non-custodian Type. Citizen point should be 1 and staker-Validator point should be 948.683298051 ( SQRT of sum of all staked amounts ) .
-
User H:
- Issued PDAs for user H:
- Citizen PDA with POKT DAO Quest
- Staker PDA ( Validator ) with custodian type (staked amount = 4 million )
- User ETH wallet address:
0x3470504CdE4c2a7c23D56c69F3C7A02E7912603C
- User Gateway ID:
pattern8
- ⇒ It is expected to find the User with this ETH wallet address has 1 PDA with POKT DAO Quest and 1 with custodian Type. Citizen point should be 0 and staker-Validator point should be 2828.42712474619 .
-
User I:
- Issued PDAs for User I:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- Staker PDA ( Gateway ) with 90000 staked amount
- User ETH wallet address:
0x73f87225EE3aF28d8Db4dBaedFC7a75be45e25bb
- User Gateway ID:
pattern9
- ⇒ It is expected to find the User with this ETH wallet address has 2 PDAs with POKT DAO and POKT DNA Quest and 1 PDA with Gateway Staker Type. Citizen point should be 1 and staker-Gateway point should be 90000 .
-
User J:
- Issued PDAs for User J:
- Citizen PDA with POKT DAO Quest
- Staker PDA ( Gateway ) with 250000 staked amount
- User ETH Wallet:
0xaBdd13102A86E502eb5A1e4b171471eB4d90420f
- User Gateway ID:
pattern10
- ⇒ It is expected to find the User with this ETH wallet address has 1 PDA with POKT DAO Quest and 1 PDA with Gateway Staker type. Citizen point should be 0 and staker-Gateway point should be 250000 .
-
User K:
- Issued PDAs for User K:
- Citizen PDA with POKT DAO Quest
- Citizen PDA with POKT DNA Quest
- Staker PDA ( Liquidity Provider ) with 5384483.44722678 wPOKT staked amount in uniswap v2
- User ETH wallet:
0x0eaa99C8119F7adA3633E1ad1381c5E9199A2BfD
- User Gateway ID:
pattern11
- ⇒ It is ecpected to find the User with this ETH wallet address has 2 PDAs with POKT DAO and POKT DNA Quest and 1 Staker PDA with Liquidity Provider Staker type. Citizen point should be 1 and staker-Liquidity Provider point should be 5384483.44722678 .
-
User L:
- Issued PDAs for User L:
- Citizen PDA with POKT DAO Quest
- Staker PDA ( Liquidity Provider ) with 2395392.76761052 wPOKT staked amount in uniswap v2
- User ETH wallet address:
0xac10A4BbCFeC8ada8C2FAb9A66F40d27e6395E82
- User Gateway ID:
pattern12
- ⇒ It is expected to find the User with this ETH wallet adderss has 1 PDA with POKT DAO Quest and 1 Staker PDA with Liquidity Provider Staker type. Citizen point should be 0 and staker-Liquidity Provider point should be 2395392.76761052 .