Only an authenticated Bank will have the option to Purchase Confirmation Services.
Only an authenticated Bank will have a Purchase button in the Confirmation Services block in the OVERVIEW section as well as the side menu below all the managed Banks
When the user clicks 'Purchase Services' we will display to them all their Validators from the bank that is selected in the dropdown. In this dropdown we will contain all the managed banks they have and they will be in the same order as they are in the side menu.
If the user is on a managed bank page and then they click Purchase we will display to them the Validators of the bank they were just on.
If the user is on a validator page or an account manager page and then they click Purchase, we will display to them the first bank in their managed banks.
We will display the same Validator table they have in the managed bank
Display same sort used in Validator tab
User will have ability to select multiple validators to purchase
Purchase Confirmation Services modal will display list of selected validators, the status of whether the bank is connected or not connected to the validator, Tx Fee, Daily Rate, Amount input, Time, & the ability to remove a validator.
The user will have the ability to enter the specific amount they want to spend on the validator and our system will calculate the Time for the user based off the Daily Rate of the validator.
On the right, we will display which bank this is for, the banks Account Balance, Active Bank Fee, Primary Validator Fee, Total Amount(s) which is the accumulation of all the amounts the user input for all the validators and then lastly, the TOTAL Tx.
One the user fills out all the amounts for the validators, we will then enable the Purchase button.
Once the user purchases the Confirmation Services, we will take them directly to that banks CONFIRMATION SERVICES tab so they can see where all their confirmation services live. We will also give them a toast that they successful purchased (# of validators)
If you user goes back to the Purchase Services page, we will still display to them all the validators they have available still, but for the validators they purchased, instead of the checkbox, we will display a confirmed icon in Sail Green 400. If you hover over this icon, we will give you a tooltip that says Purchased.
https://www.figma.com/file/ObSUx1rum1MIeZkFT3XIn1/Bank-User?node-id=836%3A24259