|
14 | 14 |
|
15 | 15 | // Default BDAP Monthly Fees
|
16 | 16 | std::map<int32_t, CFeeItem> mapDefaultMonthlyFees = {
|
17 |
| - {BDAP_MONTHY_USER_FEE, CFeeItem(BDAP_MONTHY_USER_FEE, 50 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
18 |
| - {BDAP_MONTHY_GROUP_FEE, CFeeItem(BDAP_MONTHY_GROUP_FEE, 200 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
19 |
| - {BDAP_MONTHY_CERTIFICATE_FEE, CFeeItem(BDAP_MONTHY_CERTIFICATE_FEE, 100 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
20 |
| - {BDAP_MONTHY_SIDECHAIN_FEE, CFeeItem(BDAP_MONTHY_SIDECHAIN_FEE, 1000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 17 | + {BDAP_MONTHY_USER_FEE, CFeeItem(BDAP_MONTHY_USER_FEE, 15 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 18 | + {BDAP_MONTHY_GROUP_FEE, CFeeItem(BDAP_MONTHY_GROUP_FEE, 60 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 19 | + {BDAP_MONTHY_CERTIFICATE_FEE, CFeeItem(BDAP_MONTHY_CERTIFICATE_FEE, 30 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 20 | + {BDAP_MONTHY_SIDECHAIN_FEE, CFeeItem(BDAP_MONTHY_SIDECHAIN_FEE, 300 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
21 | 21 | };
|
22 | 22 |
|
23 | 23 | // Default BDAP One Time Fees
|
24 | 24 | std::multimap<int32_t, CFeeItem> mapOneTimeFees = {
|
25 |
| - {BDAP_ONE_TIME_REQUEST_LINK_FEE, CFeeItem(BDAP_ONE_TIME_REQUEST_LINK_FEE, 99 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
26 |
| - {BDAP_ONE_TIME_ACCEPT_LINK_FEE, CFeeItem(BDAP_ONE_TIME_ACCEPT_LINK_FEE, 99 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
27 |
| - {BDAP_ONE_TIME_AUDIT_RECORD_FEE, CFeeItem(BDAP_ONE_TIME_AUDIT_RECORD_FEE, 99 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 25 | + {BDAP_ONE_TIME_REQUEST_LINK_FEE, CFeeItem(BDAP_ONE_TIME_REQUEST_LINK_FEE, 30 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 26 | + {BDAP_ONE_TIME_ACCEPT_LINK_FEE, CFeeItem(BDAP_ONE_TIME_ACCEPT_LINK_FEE, 30 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 27 | + {BDAP_ONE_TIME_AUDIT_RECORD_FEE, CFeeItem(BDAP_ONE_TIME_AUDIT_RECORD_FEE, 30 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
28 | 28 | };
|
29 | 29 |
|
30 | 30 | // Default BDAP Non-Refundable Security Deposit Fees
|
31 | 31 | std::map<int32_t, CFeeItem> mapNoRefundDeposits = {
|
32 |
| - {BDAP_NON_REFUNDABLE_USER_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_USER_DEPOSIT, 1000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
33 |
| - {BDAP_NON_REFUNDABLE_GROUP_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_GROUP_DEPOSIT, 10000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
34 |
| - {BDAP_NON_REFUNDABLE_CERTIFICATE_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_CERTIFICATE_DEPOSIT, 5000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
35 |
| - {BDAP_NON_REFUNDABLE_SIDECHAIN_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_SIDECHAIN_DEPOSIT, 25000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 32 | + {BDAP_NON_REFUNDABLE_USER_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_USER_DEPOSIT, 300 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 33 | + {BDAP_NON_REFUNDABLE_GROUP_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_GROUP_DEPOSIT, 3000 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 34 | + {BDAP_NON_REFUNDABLE_CERTIFICATE_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_CERTIFICATE_DEPOSIT, 1500 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
| 35 | + {BDAP_NON_REFUNDABLE_SIDECHAIN_DEPOSIT, CFeeItem(BDAP_NON_REFUNDABLE_SIDECHAIN_DEPOSIT, 7500 * BDAP_CREDIT, 0, std::numeric_limits<unsigned int>::max())}, |
36 | 36 | };
|
37 | 37 |
|
38 | 38 | bool GetBDAPFees(const opcodetype& opCodeAction, const opcodetype& opCodeObject, const BDAP::ObjectType objType, const uint16_t nMonths, CAmount& monthlyFee, CAmount& oneTimeFee, CAmount& depositFee)
|
|
0 commit comments