def test_decode_8_bytes_account_index(self): self.assertEqual(666666, ss58_decode_account_index('848Gh2GcGaZia'))
def test_decode_2_bytes_account_index(self): self.assertEqual(256, ss58_decode_account_index('3xygo'))
def test_decode_4_bytes_account_index(self): self.assertEqual(67305985, ss58_decode_account_index('zswfoZa'))
def test_decode_1_byte_account_index(self): self.assertEqual(1, ss58_decode_account_index('F7NZ'))