Skip to content

Commit

Permalink
Merge pull request #577 from BeamMW/sprint_6.3
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
DenisDemyanko authored Jun 9, 2022
2 parents d105f19 + 4b101aa commit dd70b0f
Show file tree
Hide file tree
Showing 85 changed files with 24,150 additions and 770 deletions.
488 changes: 276 additions & 212 deletions BeamWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions BeamWallet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

NotificationManager.sharedManager.requestPermissions()

if Settings.sharedManager().target != Mainnet {
CrowdinManager.updateLocalizations()
}
// if Settings.sharedManager().target != Mainnet {
// CrowdinManager.updateLocalizations()
// }

AppModel.sharedManager().checkRecoveryWallet()
AppModel.sharedManager().addDelegate(self)
Expand Down
12 changes: 9 additions & 3 deletions BeamWallet/BeamSDK/AppModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ typedef void(^ExportCSVBlock)(NSString * _Nonnull data, NSURL * _Nonnull url);
@property (nonatomic,assign) BOOL isOwnNode;
@property (nonatomic,assign) BMRestoreType restoreType;
@property (nonatomic,assign) BOOL isMaxPrivacyRequest;
@property (nonatomic,assign) BOOL isConfigured;

@property (nonatomic,strong) BMWalletStatus* _Nullable walletStatus;

Expand Down Expand Up @@ -217,8 +218,9 @@ typedef void(^ExportCSVBlock)(NSString * _Nonnull data, NSURL * _Nonnull url);
-(NSString*_Nonnull)getAddressTypeString:(BMAddressType)type;

// send
-(NSString*_Nullable)canSend:(double)amount assetId:(int)assetId fee:(double)fee to:(NSString*_Nullable)to maxAmount:(double)maxAmount;
-(NSString*)sendError:(double)amount assetId:(int)assetId fee:(double)fee checkMinAmount:(BOOL)check;
-(NSString*_Nullable)canSend:(double)amount assetId:(int)assetId fee:(double)fee to:(NSString*_Nullable)to maxAmount:(double)maxAmount checkAddress:(BOOL)checkAddress;

-(NSString*_Nullable)sendError:(double)amount assetId:(int)assetId fee:(double)fee checkMinAmount:(BOOL)check;
-(NSString*_Nullable)feeError:(double)fee;
-(NSString*_Nullable)canReceive:(double)amount fee:(double)fee;
-(void)send:(double)amount fee:(double)fee assetId:(int)assetId to:(NSString*_Nonnull)to from:(NSString*_Nonnull)from comment:(NSString*_Nonnull)comment isOffline:(BOOL)isOffline;
Expand Down Expand Up @@ -305,6 +307,8 @@ typedef void(^ExportCSVBlock)(NSString * _Nonnull data, NSURL * _Nonnull url);

-(void)rescan;
-(void)enableBodyRequests:(BOOL)value;
-(void)resetEstimateProgress;
-(UInt64)getEstimateProgress:(UInt64)done total:(UInt64)total;

-(double)grothToBeam:(uint64_t)groth;

Expand All @@ -319,6 +323,8 @@ typedef void(^ExportCSVBlock)(NSString * _Nonnull data, NSURL * _Nonnull url);
amounts:(NSString*_Nonnull)amounts;

-(BMApp*_Nonnull)DAOBeamXApp;

-(BMApp*_Nonnull)daoGalleryApp;
-(BMApp*_Nonnull)daoFaucetApp;
-(BMApp*_Nonnull)votingApp;

@end
Loading

0 comments on commit dd70b0f

Please sign in to comment.