From 9afbfbbbfe6edf1a483459c99ce14471df79f6c4 Mon Sep 17 00:00:00 2001
From: stjet <49297268+stjet@users.noreply.github.com>
Date: Fri, 24 Jan 2025 16:13:46 +0000
Subject: [PATCH] refuse transfer to opened accounts in wallet
---
README.md | 2 +-
docs/classes/DomainAccount.html | 4 ++--
docs/classes/DomainAccountManager.html | 4 ++--
docs/classes/Resolver.html | 4 ++--
docs/classes/TLDAccount.html | 4 ++--
docs/classes/TLDAccountManager.html | 4 ++--
docs/functions/address_to_cid_v0.html | 2 +-
docs/functions/base58_to_hex.html | 2 +-
docs/functions/bigint_to_uint8array.html | 2 +-
docs/functions/bns_seed_format_to_hex.html | 2 +-
docs/functions/cid_v0_to_address.html | 2 +-
docs/functions/decode_domain_name.html | 2 +-
docs/functions/encode_domain_name.html | 2 +-
docs/functions/hex_to_base58.html | 2 +-
docs/functions/hex_to_bns_seed_format.html | 2 +-
docs/functions/is_bns_seed_format.html | 2 +-
docs/index.html | 2 +-
docs/interfaces/Domain.html | 4 ++--
docs/interfaces/DomainBlock.html | 4 ++--
docs/interfaces/DomainFreeze.html | 4 ++--
docs/interfaces/DomainMetadata.html | 4 ++--
docs/interfaces/DomainReceive.html | 4 ++--
docs/interfaces/DomainResolver.html | 4 ++--
docs/interfaces/DomainTransfer.html | 4 ++--
docs/types/DomainBlocks.html | 2 +-
docs/variables/BSF_HEX_CHARS.html | 2 +-
docs/variables/FREEZE_PUB_KEY.html | 2 +-
docs/variables/FREEZE_REP.html | 2 +-
docs/variables/HEX_CHARS.html | 2 +-
docs/variables/LOG.html | 2 +-
docs/variables/TRANS_MAX.html | 2 +-
docs/variables/TRANS_MIN.html | 2 +-
docs/wallet/index.html | 15 +++++++++++----
wallet/index.html | 15 +++++++++++----
34 files changed, 66 insertions(+), 52 deletions(-)
diff --git a/README.md b/README.md
index 51c4a33..f4b4800 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-See the [protocol specification](bns_protocol.md), [docs](https://bns.prussia.dev) or [demo](https://bns.prussia.dev/browser_test)
+See the [protocol specification](bns_protocol.md), [docs](https://bns.prussia.dev) or [web wallet / demo](https://bns.prussia.dev/wallet)
## Installing
diff --git a/docs/classes/DomainAccount.html b/docs/classes/DomainAccount.html
index be906e3..615cf57 100644
--- a/docs/classes/DomainAccount.html
+++ b/docs/classes/DomainAccount.html
@@ -1,4 +1,4 @@
-
DomainAccount | bns IndexConstructors constructor
+
DomainAccount | bns Constructors constructor new Domain Account ( rpc , address , domain ? , max_rpc_calls ? ) : DomainAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional domain : Domain Optional max_rpc_calls : number Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Optional max_ rpc_ calls max_ rpc_ calls ?: number
rpc_ calls rpc_ calls : number
Methods get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
+
Constructors constructor new Domain Account ( rpc , address , domain ? , max_rpc_calls ? ) : DomainAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional domain : Domain Optional max_rpc_calls : number Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Optional max_ rpc_ calls max_ rpc_ calls ?: number
rpc_ calls rpc_ calls : number
Methods get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
diff --git a/docs/classes/DomainAccountManager.html b/docs/classes/DomainAccountManager.html
index ccefb3c..85af50e 100644
--- a/docs/classes/DomainAccountManager.html
+++ b/docs/classes/DomainAccountManager.html
@@ -1,4 +1,4 @@
-DomainAccountManager | bns Class DomainAccountManager IndexConstructors constructor
+
DomainAccountManager | bns Class DomainAccountManager Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Optional max_ rpc_ calls max_ rpc_ calls ?: number
rpc_ calls rpc_ calls : number
Methods declare_ domain_ metadata declare_ domain_ metadata ( metadata_hash ) : Promise < void > Returns Promise < void > declare_ domain_ resolve_ to declare_ domain_ resolve_ to ( address ) : Promise < void > Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < void > freeze freeze ( ) : Promise < void > Returns Promise < void > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > receive_ domain receive_ domain ( receive_hash , tld ? , allow_burning ? ) : Promise < void > Parameters receive_hash : string Optional tld : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional allow_burning : boolean Returns Promise < void > transfer_ domain transfer_ domain ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string >
\ No newline at end of file
+
Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Optional max_ rpc_ calls max_ rpc_ calls ?: number
rpc_ calls rpc_ calls : number
Methods declare_ domain_ metadata declare_ domain_ metadata ( metadata_hash ) : Promise < void > Returns Promise < void > declare_ domain_ resolve_ to declare_ domain_ resolve_ to ( address ) : Promise < void > Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < void > freeze freeze ( ) : Promise < void > Returns Promise < void > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > receive_ domain receive_ domain ( receive_hash , tld ? , allow_burning ? ) : Promise < void > Parameters receive_hash : string Optional tld : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional allow_burning : boolean Returns Promise < void > transfer_ domain transfer_ domain ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string >
\ No newline at end of file
diff --git a/docs/classes/Resolver.html b/docs/classes/Resolver.html
index b3e22cc..f45a6d7 100644
--- a/docs/classes/Resolver.html
+++ b/docs/classes/Resolver.html
@@ -1,7 +1,7 @@
-Resolver | bns IndexConstructors constructor
+
Resolver | bns Constructors constructor new Resolver ( rpc , tld_mapping , max_rpc_calls_after_tld ? ) : Resolver Parameters rpc : RPC tld_mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` > Optional max_rpc_calls_after_tld : number Properties Optional max_ rpc_ calls_ after_ tld max_ rpc_ calls_ after_ tld ?: number
tld_ mapping tld_ mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` >
Methods resolve resolve ( domain_name , tld , crawl_size ? ) : Promise < Domain > Parameters domain_name : string tld : string crawl_size : number = 500 Returns Promise < Domain > resolve_ backwards_ ish resolve_ backwards_ ish ( domain_account_address , tld , crawl_size ? ) : Promise < Domain > Parameters domain_account_address : ` ban_ ${ string } ` | ` nano_ ${ string } ` tld : string crawl_size : number = 500 Returns Promise < Domain >
\ No newline at end of file
+
Constructors constructor new Resolver ( rpc , tld_mapping , max_rpc_calls_after_tld ? ) : Resolver Parameters rpc : RPC tld_mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` > Optional max_rpc_calls_after_tld : number Properties Optional max_ rpc_ calls_ after_ tld max_ rpc_ calls_ after_ tld ?: number
tld_ mapping tld_ mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` >
Methods resolve resolve ( domain_name , tld , crawl_size ? ) : Promise < Domain > Parameters domain_name : string tld : string crawl_size : number = 500 Returns Promise < Domain > resolve_ backwards_ ish resolve_ backwards_ ish ( domain_account_address , tld , crawl_size ? ) : Promise < Domain > Parameters domain_account_address : ` ban_ ${ string } ` | ` nano_ ${ string } ` tld : string crawl_size : number = 500 Returns Promise < Domain >
\ No newline at end of file
diff --git a/docs/classes/TLDAccount.html b/docs/classes/TLDAccount.html
index 2ae53ce..979c7ab 100644
--- a/docs/classes/TLDAccount.html
+++ b/docs/classes/TLDAccount.html
@@ -1,4 +1,4 @@
-TLDAccount | bns IndexConstructors constructor
+
TLDAccount | bns Constructors constructor new TLDAccount ( rpc , address ) : TLDAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ all_ issued get_ all_ issued ( crawl_size ? ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > get_ specific get_ specific ( name , crawl_size ? ) : Promise < Domain > Parameters name : string crawl_size : number = 500 Returns Promise < Domain >
\ No newline at end of file
+
Constructors constructor new TLDAccount ( rpc , address ) : TLDAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ all_ issued get_ all_ issued ( crawl_size ? ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > get_ specific get_ specific ( name , crawl_size ? ) : Promise < Domain > Parameters name : string crawl_size : number = 500 Returns Promise < Domain >
\ No newline at end of file
diff --git a/docs/classes/TLDAccountManager.html b/docs/classes/TLDAccountManager.html
index c4e4944..c378828 100644
--- a/docs/classes/TLDAccountManager.html
+++ b/docs/classes/TLDAccountManager.html
@@ -1,4 +1,4 @@
-TLDAccountManager | bns IndexConstructors constructor
+
TLDAccountManager | bns Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods freeze freeze ( ) : Promise < void > Returns Promise < void > get_ all_ issued get_ all_ issued ( crawl_size ? ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > get_ specific get_ specific ( name , crawl_size ? ) : Promise < Domain > Parameters name : string crawl_size : number = 500 Returns Promise < Domain > issue_ domain_ name issue_ domain_ name ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string > receive receive ( ) : Promise < void > Returns Promise < void >
\ No newline at end of file
+
Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods freeze freeze ( ) : Promise < void > Returns Promise < void > get_ all_ issued get_ all_ issued ( crawl_size ? ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > get_ specific get_ specific ( name , crawl_size ? ) : Promise < Domain > Parameters name : string crawl_size : number = 500 Returns Promise < Domain > issue_ domain_ name issue_ domain_ name ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string > receive receive ( ) : Promise < void > Returns Promise < void >
\ No newline at end of file
diff --git a/docs/functions/address_to_cid_v0.html b/docs/functions/address_to_cid_v0.html
index c3f1274..652f01e 100644
--- a/docs/functions/address_to_cid_v0.html
+++ b/docs/functions/address_to_cid_v0.html
@@ -1,2 +1,2 @@
address_to_cid_v0 | bns Function address_to_cid_v0 address_ to_ cid_ v0 ( address ) : string Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns string
\ No newline at end of file
+Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns string
Banano address to IPFS CID v0
-