diff --git a/.github/workflows/reusable_swap_functional_tests.yml b/.github/workflows/reusable_swap_functional_tests.yml index 3c678dc2..64c1a65f 100644 --- a/.github/workflows/reusable_swap_functional_tests.yml +++ b/.github/workflows/reusable_swap_functional_tests.yml @@ -97,6 +97,15 @@ on: default: 'LedgerHQ/app-tron' type: string + branch_for_near: + required: false + default: 'develop' + type: string + repo_for_near: + required: false + default: 'LedgerHQ/app-near' + type: string + branch_for_ton: required: false default: 'develop' @@ -177,6 +186,9 @@ jobs: - name: cardano repo: ${{ inputs.repo_for_cardano }} branch: ${{ inputs.branch_for_cardano }} + - name: near + repo: ${{ inputs.repo_for_near }} + branch: ${{ inputs.branch_for_near }} uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1 with: @@ -187,6 +199,7 @@ jobs: flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }} CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1" upload_app_binaries_artifact: libraries_binaries-${{ matrix.coin.name }}-${{ strategy.job-index }} upload_as_lib_artifact: ${{ matrix.coin.name }} + builder: ledger-app-builder merge_libraries_build: name: Merge built libraries diff --git a/test/python/apps/cal.py b/test/python/apps/cal.py index 50d58aea..5d6f7724 100644 --- a/test/python/apps/cal.py +++ b/test/python/apps/cal.py @@ -22,7 +22,11 @@ from .tron import TRX_PACKED_DERIVATION_PATH, TRX_CONF from .tron import TRX_USDT_CONF, TRX_USDC_CONF, TRX_TUSD_CONF, TRX_USDD_CONF from .cardano import ADA_BYRON_PACKED_DERIVATION_PATH, ADA_SHELLEY_PACKED_DERIVATION_PATH, ADA_CONF +<<<<<<< HEAD from .aptos import APTOS_PACKED_DERIVATION_PATH, APTOS_CONF +======= +from .near import NEAR_PACKED_DERIVATION_PATH, NEAR_CONF +>>>>>>> develop @dataclass class CurrencyConfiguration: @@ -58,6 +62,7 @@ def get_conf_for_ticker(self, overload_signer: Optional[SigningAuthority]=None) USDD_CURRENCY_CONFIGURATION = CurrencyConfiguration(ticker="USDD", conf=TRX_USDD_CONF, packed_derivation_path=TRX_PACKED_DERIVATION_PATH) ADA_BYRON_CURRENCY_CONFIGURATION = CurrencyConfiguration(ticker="ADA", conf=ADA_CONF, packed_derivation_path=ADA_BYRON_PACKED_DERIVATION_PATH) ADA_SHELLEY_CURRENCY_CONFIGURATION = CurrencyConfiguration(ticker="ADA", conf=ADA_CONF, packed_derivation_path=ADA_SHELLEY_PACKED_DERIVATION_PATH) +NEAR_CURRENCY_CONFIGURATION = CurrencyConfiguration(ticker="NEAR", conf=NEAR_CONF, packed_derivation_path=NEAR_PACKED_DERIVATION_PATH) APTOS_CURRENCY_CONFIGURATION = CurrencyConfiguration(ticker="APT", conf=APTOS_CONF, packed_derivation_path=APTOS_PACKED_DERIVATION_PATH) diff --git a/test/python/apps/near.py b/test/python/apps/near.py new file mode 100644 index 00000000..5705dd7a --- /dev/null +++ b/test/python/apps/near.py @@ -0,0 +1,114 @@ +from enum import IntEnum + +from ragger.bip import pack_derivation_path +from ragger.utils import create_currency_config, RAPDU + +NEAR_CONF = create_currency_config("NEAR", "NEAR") +NEAR_PACKED_DERIVATION_PATH = pack_derivation_path("m/44'/397'/0'/0'/1'") + +class Ins(): + SIGN = 0x02 + + +class P1(): + START = 0x00 + MORE = 0x80 + + +class P2(): + UNUSED = 0x57 + + +class NearErrors(IntEnum): + SW_DENY = 0x6985 + SW_SWAP_CHECKING_FAIL = 0xB008 + + +class NearClient: + CLA = 0x80 + + def __init__(self, backend): + self._backend = backend + + def send_simple_sign_tx(self, path: str, destination: str, send_amount: int) -> RAPDU: + packed_path = pack_derivation_path(path) + + if destination == "speculos.testnet" and send_amount == 1234560000000000000000000000: + """ + 1234.56 NEAR + Transaction { + signer_id: "blablatest.testnet", + public_key: ed25519:EFr6nRvgKKeteKoEH7hudt8UHYiu94Liq2yMM7x2AU9U, + nonce: 103595482000005, + receiver_id: "speculos.testnet", + block_hash: Cb3vKNiF3MUuVoqfjuEFCgSNPT79pbuVfXXd2RxDXc5E, + actions: [ + Transfer( + TransferAction { + deposit: 1234560000000000000000000000, + }, + ), + ], + } + """ + tx = bytes.fromhex("12000000626c61626c61746573742e746573746e657400c4f5941e81e071c2fd1dae2e71fd3d859d462484391d9a90bf219211dcbb320f85aae733385e00001000000073706563756c6f732e746573746e6574ac299ac1376e375cd39338d8b29225613ef947424b74a3207c1226863a72583101000000030000001049f203b43f34fd0300000000") + + elif destination == "speculos.testnet" and send_amount == 500000000000000000000000: + """ + 0.5 NEAR + Transaction { + signer_id: "blablatest.testnet", + public_key: ed25519:EFr6nRvgKKeteKoEH7hudt8UHYiu94Liq2yMM7x2AU9U, + nonce: 103595482000005, + receiver_id: "speculos.testnet", + block_hash: Cb3vKNiF3MUuVoqfjuEFCgSNPT79pbuVfXXd2RxDXc5E, + actions: [ + Transfer( + TransferAction { + deposit: 500000000000000000000000, + }, + ), + ], + } + """ + tx = bytes.fromhex("12000000626c61626c61746573742e746573746e657400c4f5941e81e071c2fd1dae2e71fd3d859d462484391d9a90bf219211dcbb320f85aae733385e00001000000073706563756c6f732e746573746e6574ac299ac1376e375cd39338d8b29225613ef947424b74a3207c1226863a7258310100000003000080d07666e70de169000000000000") + elif destination == "ledger.testnet" and send_amount == 1234560000000000000000000000: + """ + 1234.56 NEAR + Transaction { + signer_id: "blablatest.testnet", + public_key: ed25519:EFr6nRvgKKeteKoEH7hudt8UHYiu94Liq2yMM7x2AU9U, + nonce: 103595482000005, + receiver_id: "ledger.testnet", + block_hash: Cb3vKNiF3MUuVoqfjuEFCgSNPT79pbuVfXXd2RxDXc5E, + actions: [ + Transfer( + TransferAction { + deposit: 1234560000000000000000000000, + }, + ), + ], + } + """ + tx = bytes.fromhex("12000000626c61626c61746573742e746573746e657400c4f5941e81e071c2fd1dae2e71fd3d859d462484391d9a90bf219211dcbb320f85aae733385e00000e0000006c65646765722e746573746e6574ac299ac1376e375cd39338d8b29225613ef947424b74a3207c1226863a72583101000000030000001049f203b43f34fd0300000000") + else: + """ + 0.5 NEAR + Transaction { + signer_id: "blablatest.testnet", + public_key: ed25519:EFr6nRvgKKeteKoEH7hudt8UHYiu94Liq2yMM7x2AU9U, + nonce: 103595482000005, + receiver_id: "ledger.testnet", + block_hash: Cb3vKNiF3MUuVoqfjuEFCgSNPT79pbuVfXXd2RxDXc5E, + actions: [ + Transfer( + TransferAction { + deposit: 500000000000000000000000, + }, + ), + ], + } + """ + tx = bytes.fromhex("12000000626c61626c61746573742e746573746e657400c4f5941e81e071c2fd1dae2e71fd3d859d462484391d9a90bf219211dcbb320f85aae733385e00000e0000006c65646765722e746573746e6574ac299ac1376e375cd39338d8b29225613ef947424b74a3207c1226863a7258310100000003000080d07666e70de169000000000000") + + return self._backend.exchange(self.CLA, Ins.SIGN, P1.MORE, P2.UNUSED, packed_path[1:] + tx) diff --git a/test/python/conftest.py b/test/python/conftest.py index e42beaee..4201c8c4 100644 --- a/test/python/conftest.py +++ b/test/python/conftest.py @@ -26,6 +26,7 @@ "tron": "Tron", "ton": "TON", "cardano": "Cardano ADA", + "near": "NEAR", } configuration.OPTIONAL.SIDELOADED_APPS_DIR = "test/python/lib_binaries/" diff --git a/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00000.png b/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00001.png b/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_1/review/00000.png b/test/python/snapshots/flex/test_near_fund_valid_1/review/00000.png new file mode 100644 index 00000000..10172721 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_1/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_1/review/00001.png b/test/python/snapshots/flex/test_near_fund_valid_1/review/00001.png new file mode 100644 index 00000000..521373ce Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_1/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_1/review/00002.png b/test/python/snapshots/flex/test_near_fund_valid_1/review/00002.png new file mode 100644 index 00000000..f835a5d3 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_1/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00000.png b/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00001.png b/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_2/review/00000.png b/test/python/snapshots/flex/test_near_fund_valid_2/review/00000.png new file mode 100644 index 00000000..10172721 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_2/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_2/review/00001.png b/test/python/snapshots/flex/test_near_fund_valid_2/review/00001.png new file mode 100644 index 00000000..1b1d78a0 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_2/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_valid_2/review/00002.png b/test/python/snapshots/flex/test_near_fund_valid_2/review/00002.png new file mode 100644 index 00000000..f835a5d3 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_valid_2/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00000.png b/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00001.png b/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00000.png b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00000.png new file mode 100644 index 00000000..10172721 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00001.png b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00001.png new file mode 100644 index 00000000..521373ce Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00002.png b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00002.png new file mode 100644 index 00000000..f835a5d3 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00000.png b/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00001.png b/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00000.png b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00000.png new file mode 100644 index 00000000..10172721 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00001.png b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00001.png new file mode 100644 index 00000000..521373ce Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00002.png b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00002.png new file mode 100644 index 00000000..f835a5d3 Binary files /dev/null and b/test/python/snapshots/flex/test_near_fund_wrong_destination/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00000.png b/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00001.png b/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/review/00000.png b/test/python/snapshots/flex/test_near_sell_valid_1/review/00000.png new file mode 100644 index 00000000..047c4a35 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/review/00001.png b/test/python/snapshots/flex/test_near_sell_valid_1/review/00001.png new file mode 100644 index 00000000..4b277ece Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/review/00002.png b/test/python/snapshots/flex/test_near_sell_valid_1/review/00002.png new file mode 100644 index 00000000..e13fbb58 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_1/review/00003.png b/test/python/snapshots/flex/test_near_sell_valid_1/review/00003.png new file mode 100644 index 00000000..5731deb7 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_1/review/00003.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00000.png b/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00001.png b/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/review/00000.png b/test/python/snapshots/flex/test_near_sell_valid_2/review/00000.png new file mode 100644 index 00000000..047c4a35 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/review/00001.png b/test/python/snapshots/flex/test_near_sell_valid_2/review/00001.png new file mode 100644 index 00000000..b35f3daa Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/review/00002.png b/test/python/snapshots/flex/test_near_sell_valid_2/review/00002.png new file mode 100644 index 00000000..e13fbb58 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_sell_valid_2/review/00003.png b/test/python/snapshots/flex/test_near_sell_valid_2/review/00003.png new file mode 100644 index 00000000..5731deb7 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_valid_2/review/00003.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00000.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00001.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00000.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00000.png new file mode 100644 index 00000000..047c4a35 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00001.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00001.png new file mode 100644 index 00000000..4b277ece Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00002.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00002.png new file mode 100644 index 00000000..e13fbb58 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00003.png b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00003.png new file mode 100644 index 00000000..5731deb7 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_amount/review/00003.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00000.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00001.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00000.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00000.png new file mode 100644 index 00000000..047c4a35 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00001.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00001.png new file mode 100644 index 00000000..4b277ece Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00002.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00002.png new file mode 100644 index 00000000..e13fbb58 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00003.png b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00003.png new file mode 100644 index 00000000..5731deb7 Binary files /dev/null and b/test/python/snapshots/flex/test_near_sell_wrong_destination/review/00003.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00000.png b/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00001.png b/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_1/review/00000.png b/test/python/snapshots/flex/test_near_swap_valid_1/review/00000.png new file mode 100644 index 00000000..b2325b6b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_1/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_1/review/00001.png b/test/python/snapshots/flex/test_near_swap_valid_1/review/00001.png new file mode 100644 index 00000000..3c993793 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_1/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_1/review/00002.png b/test/python/snapshots/flex/test_near_swap_valid_1/review/00002.png new file mode 100644 index 00000000..bb851e1b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_1/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00000.png b/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00000.png new file mode 100644 index 00000000..be51a9d5 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00001.png b/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_2/review/00000.png b/test/python/snapshots/flex/test_near_swap_valid_2/review/00000.png new file mode 100644 index 00000000..b2325b6b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_2/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_2/review/00001.png b/test/python/snapshots/flex/test_near_swap_valid_2/review/00001.png new file mode 100644 index 00000000..26ff6155 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_2/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_valid_2/review/00002.png b/test/python/snapshots/flex/test_near_swap_valid_2/review/00002.png new file mode 100644 index 00000000..bb851e1b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_valid_2/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00000.png b/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00001.png b/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00000.png b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00000.png new file mode 100644 index 00000000..b2325b6b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00001.png b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00001.png new file mode 100644 index 00000000..3c993793 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00002.png b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00002.png new file mode 100644 index 00000000..bb851e1b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00000.png b/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..de1d249d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00001.png b/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..5d892c4d Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00000.png b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00000.png new file mode 100644 index 00000000..b2325b6b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00001.png b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00001.png new file mode 100644 index 00000000..3c993793 Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00002.png b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00002.png new file mode 100644 index 00000000..bb851e1b Binary files /dev/null and b/test/python/snapshots/flex/test_near_swap_wrong_destination/review/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00000.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00001.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00002.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00003.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00004.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00005.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00006.png b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00000.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00001.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00002.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00003.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00004.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00005.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_1/00006.png b/test/python/snapshots/nanos/test_near_fund_valid_1/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_1/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00000.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00001.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00002.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00002.png new file mode 100644 index 00000000..f2470491 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00003.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00004.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00005.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_valid_2/00006.png b/test/python/snapshots/nanos/test_near_fund_valid_2/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_valid_2/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00000.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00001.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00002.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00003.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00004.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00005.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_amount/00006.png b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00000.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00001.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00002.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00003.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00004.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00005.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_destination/00006.png b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00000.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00001.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00001.png new file mode 100644 index 00000000..f68ce8a9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00002.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00003.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00003.png new file mode 100644 index 00000000..68d0d6bd Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00004.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00005.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_fund_wrong_memo/00006.png b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_fund_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00000.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00001.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00002.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00003.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00004.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00005.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00006.png b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00000.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00001.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00002.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00003.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00004.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00005.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_1/00006.png b/test/python/snapshots/nanos/test_near_sell_valid_1/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_1/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00000.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00001.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00002.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00002.png new file mode 100644 index 00000000..f2470491 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00003.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00004.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00005.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_valid_2/00006.png b/test/python/snapshots/nanos/test_near_sell_valid_2/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_valid_2/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00000.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00001.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00002.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00003.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00004.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00005.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_amount/00006.png b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00000.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00001.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00002.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00003.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00004.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00005.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_destination/00006.png b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00000.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00001.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00001.png new file mode 100644 index 00000000..ae0a2947 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00002.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00002.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00003.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00003.png new file mode 100644 index 00000000..01f7f182 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00004.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00004.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00005.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00005.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_sell_wrong_memo/00006.png b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00006.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_sell_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00000.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00001.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00001.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00002.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00003.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00004.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00005.png b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00000.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00001.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00001.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00002.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00003.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00004.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_1/00005.png b/test/python/snapshots/nanos/test_near_swap_valid_1/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_1/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00000.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00001.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00001.png new file mode 100644 index 00000000..f2470491 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00002.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00003.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00004.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_valid_2/00005.png b/test/python/snapshots/nanos/test_near_swap_valid_2/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_valid_2/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00000.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00001.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00001.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00002.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00003.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00004.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_amount/00005.png b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00000.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00001.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00001.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00002.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00003.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00004.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_destination/00005.png b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00000.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00000.png new file mode 100644 index 00000000..8d84cc70 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00001.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00001.png new file mode 100644 index 00000000..85d6bfe9 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00002.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00002.png new file mode 100644 index 00000000..b744ccf6 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00003.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00003.png new file mode 100644 index 00000000..cfab0d2c Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00004.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00004.png new file mode 100644 index 00000000..1c9156c3 Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanos/test_near_swap_wrong_memo/00005.png b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00005.png new file mode 100644 index 00000000..a0aef4de Binary files /dev/null and b/test/python/snapshots/nanos/test_near_swap_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00000.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00001.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00002.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00002.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00003.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00004.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00005.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00006.png b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00000.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00001.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00002.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00003.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00004.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00005.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_1/00006.png b/test/python/snapshots/nanosp/test_near_fund_valid_1/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_1/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00000.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00001.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00002.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00002.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00003.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00004.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00005.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_valid_2/00006.png b/test/python/snapshots/nanosp/test_near_fund_valid_2/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_valid_2/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00000.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00001.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00002.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00003.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00004.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00005.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00006.png b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00000.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00001.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00002.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00003.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00004.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00005.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00006.png b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00000.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00001.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00002.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00002.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00003.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00004.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00005.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00006.png b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_fund_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00000.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00001.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00001.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00002.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00002.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00003.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00003.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00004.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00005.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00006.png b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00000.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00001.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00002.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00003.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00004.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00005.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00006.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_1/00007.png b/test/python/snapshots/nanosp/test_near_sell_valid_1/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_1/00007.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00000.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00001.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00002.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00003.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00003.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00004.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00005.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00006.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_valid_2/00007.png b/test/python/snapshots/nanosp/test_near_sell_valid_2/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_valid_2/00007.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00000.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00001.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00002.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00003.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00004.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00005.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00006.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00007.png b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_amount/00007.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00000.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00001.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00002.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00003.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00004.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00005.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00006.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00007.png b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_destination/00007.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00000.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00001.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00001.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00002.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00002.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00003.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00003.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00004.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00005.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00006.png b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_sell_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00000.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00001.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00001.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00002.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00002.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00003.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00003.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00004.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00004.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00005.png b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00005.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00000.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00001.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00002.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00003.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00004.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00005.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_1/00006.png b/test/python/snapshots/nanosp/test_near_swap_valid_1/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_1/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00000.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00001.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00002.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00002.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00003.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00004.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00005.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_valid_2/00006.png b/test/python/snapshots/nanosp/test_near_swap_valid_2/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_valid_2/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00000.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00001.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00002.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00003.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00004.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00005.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00006.png b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00000.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00001.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00002.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00003.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00004.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00005.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00006.png b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00000.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00001.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00001.png new file mode 100644 index 00000000..c788c8e4 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00002.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00002.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00003.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00003.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00004.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00004.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00005.png b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00005.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanosp/test_near_swap_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00000.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00001.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00001.png new file mode 100644 index 00000000..28a5f8e3 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00002.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00002.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00003.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00003.png new file mode 100644 index 00000000..66adf0b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00004.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00005.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00006.png b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00006.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00000.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00001.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00002.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00003.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00004.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00005.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_1/00006.png b/test/python/snapshots/nanox/test_near_fund_valid_1/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_1/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00000.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00001.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00002.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00002.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00003.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00004.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00005.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_valid_2/00006.png b/test/python/snapshots/nanox/test_near_fund_valid_2/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_valid_2/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00000.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00001.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00002.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00003.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00004.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00005.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_amount/00006.png b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00000.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00001.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00001.png new file mode 100644 index 00000000..fcfe2eb5 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00002.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00003.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00003.png new file mode 100644 index 00000000..ce6b87af Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00004.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00005.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_destination/00006.png b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00000.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00001.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00001.png new file mode 100644 index 00000000..28a5f8e3 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00002.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00002.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00003.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00003.png new file mode 100644 index 00000000..66adf0b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00004.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00005.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_fund_wrong_memo/00006.png b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00006.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_fund_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00000.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00001.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00001.png new file mode 100644 index 00000000..60ee7698 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00002.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00002.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00003.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00003.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00004.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00005.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00006.png b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00006.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_refuse_double_sign/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00000.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00001.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00002.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00003.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00004.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00005.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00006.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_1/00007.png b/test/python/snapshots/nanox/test_near_sell_valid_1/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_1/00007.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00000.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00001.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00002.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00003.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00003.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00004.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00005.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00006.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_valid_2/00007.png b/test/python/snapshots/nanox/test_near_sell_valid_2/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_valid_2/00007.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00000.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00001.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00002.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00003.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00004.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00005.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00006.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_amount/00007.png b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_amount/00007.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00000.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00001.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00002.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00002.png new file mode 100644 index 00000000..a7dec8ea Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00003.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00003.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00004.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00004.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00005.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00005.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00006.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00006.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_destination/00007.png b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00007.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_destination/00007.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00000.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00001.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00001.png new file mode 100644 index 00000000..60ee7698 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00002.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00002.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00003.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00003.png new file mode 100644 index 00000000..6749f273 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00004.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00004.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00005.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_sell_wrong_memo/00006.png b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00006.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_sell_wrong_memo/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00000.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00001.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00001.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00002.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00002.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00003.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00003.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00004.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00004.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00005.png b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00005.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_refuse_double_sign/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00000.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00001.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00002.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00003.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00004.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00005.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_1/00006.png b/test/python/snapshots/nanox/test_near_swap_valid_1/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_1/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00000.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00001.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00002.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00002.png new file mode 100644 index 00000000..1a3e3332 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00003.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00004.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00005.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_valid_2/00006.png b/test/python/snapshots/nanox/test_near_swap_valid_2/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_valid_2/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00000.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00001.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00002.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00003.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00004.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00005.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_amount/00006.png b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_amount/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00000.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00001.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00001.png new file mode 100644 index 00000000..28425d8c Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00002.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00002.png new file mode 100644 index 00000000..be73b0d7 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00003.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00003.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00004.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00004.png new file mode 100644 index 00000000..9c2cd343 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00005.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00005.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00005.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_destination/00006.png b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00006.png new file mode 100644 index 00000000..7713012e Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_destination/00006.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00000.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00000.png new file mode 100644 index 00000000..487ea10f Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00000.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00001.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00001.png new file mode 100644 index 00000000..4855c870 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00001.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00002.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00002.png new file mode 100644 index 00000000..2d2fc70b Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00002.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00003.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00003.png new file mode 100644 index 00000000..339766b1 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00003.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00004.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00004.png new file mode 100644 index 00000000..570ce28d Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00004.png differ diff --git a/test/python/snapshots/nanox/test_near_swap_wrong_memo/00005.png b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00005.png new file mode 100644 index 00000000..6c4d06b4 Binary files /dev/null and b/test/python/snapshots/nanox/test_near_swap_wrong_memo/00005.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00000.png b/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00001.png b/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_1/review/00000.png b/test/python/snapshots/stax/test_near_fund_valid_1/review/00000.png new file mode 100644 index 00000000..5f888e77 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_1/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_1/review/00001.png b/test/python/snapshots/stax/test_near_fund_valid_1/review/00001.png new file mode 100644 index 00000000..7b8819c6 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_1/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_1/review/00002.png b/test/python/snapshots/stax/test_near_fund_valid_1/review/00002.png new file mode 100644 index 00000000..9668bb63 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_1/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00000.png b/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00001.png b/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_2/review/00000.png b/test/python/snapshots/stax/test_near_fund_valid_2/review/00000.png new file mode 100644 index 00000000..5f888e77 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_2/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_2/review/00001.png b/test/python/snapshots/stax/test_near_fund_valid_2/review/00001.png new file mode 100644 index 00000000..109f8be5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_2/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_valid_2/review/00002.png b/test/python/snapshots/stax/test_near_fund_valid_2/review/00002.png new file mode 100644 index 00000000..9668bb63 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_valid_2/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00000.png b/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00001.png b/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00000.png b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00000.png new file mode 100644 index 00000000..5f888e77 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00001.png b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00001.png new file mode 100644 index 00000000..7b8819c6 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00002.png b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00002.png new file mode 100644 index 00000000..9668bb63 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00000.png b/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00001.png b/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00000.png b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00000.png new file mode 100644 index 00000000..5f888e77 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00001.png b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00001.png new file mode 100644 index 00000000..7b8819c6 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00002.png b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00002.png new file mode 100644 index 00000000..9668bb63 Binary files /dev/null and b/test/python/snapshots/stax/test_near_fund_wrong_destination/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00000.png b/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00001.png b/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_1/review/00000.png b/test/python/snapshots/stax/test_near_sell_valid_1/review/00000.png new file mode 100644 index 00000000..95bfc873 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_1/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_1/review/00001.png b/test/python/snapshots/stax/test_near_sell_valid_1/review/00001.png new file mode 100644 index 00000000..b173c650 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_1/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_1/review/00002.png b/test/python/snapshots/stax/test_near_sell_valid_1/review/00002.png new file mode 100644 index 00000000..31f23492 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_1/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00000.png b/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00001.png b/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_2/review/00000.png b/test/python/snapshots/stax/test_near_sell_valid_2/review/00000.png new file mode 100644 index 00000000..95bfc873 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_2/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_2/review/00001.png b/test/python/snapshots/stax/test_near_sell_valid_2/review/00001.png new file mode 100644 index 00000000..017480c9 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_2/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_valid_2/review/00002.png b/test/python/snapshots/stax/test_near_sell_valid_2/review/00002.png new file mode 100644 index 00000000..31f23492 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_valid_2/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00000.png b/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00001.png b/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00000.png b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00000.png new file mode 100644 index 00000000..95bfc873 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00001.png b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00001.png new file mode 100644 index 00000000..b173c650 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00002.png b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00002.png new file mode 100644 index 00000000..31f23492 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00000.png b/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00001.png b/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00000.png b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00000.png new file mode 100644 index 00000000..95bfc873 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00001.png b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00001.png new file mode 100644 index 00000000..b173c650 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00002.png b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00002.png new file mode 100644 index 00000000..31f23492 Binary files /dev/null and b/test/python/snapshots/stax/test_near_sell_wrong_destination/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00000.png b/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00001.png b/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_1/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_1/review/00000.png b/test/python/snapshots/stax/test_near_swap_valid_1/review/00000.png new file mode 100644 index 00000000..dcf6b774 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_1/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_1/review/00001.png b/test/python/snapshots/stax/test_near_swap_valid_1/review/00001.png new file mode 100644 index 00000000..48030405 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_1/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_1/review/00002.png b/test/python/snapshots/stax/test_near_swap_valid_1/review/00002.png new file mode 100644 index 00000000..abf5c96f Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_1/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00000.png b/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00000.png new file mode 100644 index 00000000..392165d4 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00001.png b/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_2/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_2/review/00000.png b/test/python/snapshots/stax/test_near_swap_valid_2/review/00000.png new file mode 100644 index 00000000..dcf6b774 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_2/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_2/review/00001.png b/test/python/snapshots/stax/test_near_swap_valid_2/review/00001.png new file mode 100644 index 00000000..f0e744c5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_2/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_valid_2/review/00002.png b/test/python/snapshots/stax/test_near_swap_valid_2/review/00002.png new file mode 100644 index 00000000..abf5c96f Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_valid_2/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00000.png b/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00001.png b/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_amount/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00000.png b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00000.png new file mode 100644 index 00000000..dcf6b774 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00001.png b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00001.png new file mode 100644 index 00000000..48030405 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00002.png b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00002.png new file mode 100644 index 00000000..abf5c96f Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_amount/review/00002.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00000.png b/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00000.png new file mode 100644 index 00000000..916c2b53 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00001.png b/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00001.png new file mode 100644 index 00000000..ff2891d5 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_destination/post_sign/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00000.png b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00000.png new file mode 100644 index 00000000..dcf6b774 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00000.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00001.png b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00001.png new file mode 100644 index 00000000..48030405 Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00001.png differ diff --git a/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00002.png b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00002.png new file mode 100644 index 00000000..abf5c96f Binary files /dev/null and b/test/python/snapshots/stax/test_near_swap_wrong_destination/review/00002.png differ diff --git a/test/python/test_near.py b/test/python/test_near.py new file mode 100644 index 00000000..c84be12c --- /dev/null +++ b/test/python/test_near.py @@ -0,0 +1,41 @@ +import pytest + +from .apps.exchange_test_runner import ExchangeTestRunner, ALL_TESTS_EXCEPT_MEMO_AND_FEES, ALL_TESTS_EXCEPT_MEMO_THORSWAP_AND_FEES +from .apps.near import NearClient, NearErrors +from .apps import cal as cal + +# ExchangeTestRunner implementation for Near +class NearTests(ExchangeTestRunner): + + currency_configuration = cal.NEAR_CURRENCY_CONFIGURATION + valid_destination_1 = "speculos.testnet" + valid_destination_memo_1 = "" + valid_destination_2 = "ledger.testnet" + valid_destination_memo_2 = "" + #valid_refund = "EFr6nRvgKKeteKoEH7hudt8UHYiu94Liq2yMM7x2AU9U" + valid_refund = "c4f5941e81e071c2fd1dae2e71fd3d859d462484391d9a90bf219211dcbb320f" + valid_refund_memo = "" + valid_send_amount_1 = 1234560000000000000000000000 + valid_send_amount_2 = 500000000000000000000000 + valid_fees_1 = 0 + valid_fees_2 = 0 + fake_refund = "abcdabcd" + fake_refund_memo = "bla" + fake_payout = "abcdabcd" + fake_payout_memo = "bla" + signature_refusal_error_code = NearErrors.SW_SWAP_CHECKING_FAIL + + def perform_final_tx(self, destination, send_amount, fees, memo): + NearClient(self.backend).send_simple_sign_tx(path="m/44'/397'/0'/0'/1'", + destination=destination, + send_amount=send_amount) + + # TODO : assert signature validity + + +# Use a class to reuse the same Speculos instance +class TestsNear: + + @pytest.mark.parametrize('test_to_run', ALL_TESTS_EXCEPT_MEMO_THORSWAP_AND_FEES) + def test_near(self, backend, exchange_navigation_helper, test_to_run): + NearTests(backend, exchange_navigation_helper).run_test(test_to_run)