-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e18a237
commit 1ef836e
Showing
16 changed files
with
494 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace aoWebWallet.Models | ||
{ | ||
public class CreateTokenModel | ||
{ | ||
public string? Name { get; set; } | ||
public string? Ticker { get; set; } | ||
public string? LogoUrl { get; set; } | ||
public int Denomination { get; set; } | ||
public int TotalSupply { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using aoWebWallet.ViewModels; | ||
using aoww.ProcesModels.Action; | ||
using Microsoft.AspNetCore.Components.Routing; | ||
|
||
namespace aoWebWallet.Pages | ||
{ | ||
public partial class CreateTokenPage : MvvmComponentBase<MainViewModel> | ||
{ | ||
protected override void OnInitialized() | ||
{ | ||
WatchProp(nameof(BindingContext.ActiveWalletAddress)); | ||
WatchDataLoaderVM(BindingContext.WalletList); | ||
WatchDataLoaderVM(CreateTokenService.CreateTokenProgress); | ||
|
||
|
||
base.OnInitialized(); | ||
} | ||
|
||
protected override async Task OnAfterRenderAsync(bool firstRender) | ||
{ | ||
if (firstRender) | ||
{ | ||
await BindingContext.CheckHasArConnectExtension(); | ||
|
||
await BindingContext.LoadWalletList(); | ||
//await dataService.LoadTokenList(); | ||
} | ||
|
||
await base.OnAfterRenderAsync(firstRender); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.