|
2 | 2 | package mock |
3 | 3 |
|
4 | 4 | const LighterMockResponse = ` |
5 | | -{"code":200,"hash":"1e16eea4ad2ea1db483e7a0aeea2149fcafd96da3b9e7ecab5e95506f002182d1809858336e2af22","type":12,"info":"{\"FromAccountIndex\":283390,\"ApiKeyIndex\":0,\"ToAccountIndex\":3,\"USDCAmount\":2000000,\"Fee\":3000000,\"Memo\":[238,123,250,212,202,237,62,98,106,248,169,199,213,3,76,213,137,238,73,144,0,0,0,0,0,0,0,0,0,0,0,0],\"ExpiredAt\":1761149674469,\"Nonce\":2,\"Sig\":\"crr/TWDu2CzHpkOtGaTIow70UcgsdfChqSYurrEoFO/K+f9nZHvpOzNVXtZQBf7JhhVyMK9dDbzgt3nUK7z9N/GdbH/NakIGHzVod+9ULhQ=\",\"L1Sig\":\"0x320bdc9a593130a7e25103a572458188dd4e2efdb18c5d862c7e54da10d780fe751b444a259195baa4b5a7e3dc600dfa2227ec077a09919f3f97a736475eea471c\"}","event_info":"{\"f\":283390,\"t\":3,\"u\":2000000,\"fee\":3000000,\"ae\":\"\"}","status":3,"transaction_index":16,"l1_address":"0xEe7BfAD4caEd3e626AF8a9C7d5034CD589EE4990","account_index":283390,"nonce":2,"expire_at":1761149674469,"block_height":70687079,"queued_at":1761149084285,"sequence_index":16778685698,"parent_hash":"","committed_at":0,"verified_at":0,"executed_at":1761149084292} |
| 5 | +{"code":200,"hash":"1e16eea4ad2ea1db483e7a0aeea2149fcafd96da3b9e7ecab5e95506f002182d1809858336e2af22","type":12,"info":"{\"FromAccountIndex\":283390,\"ApiKeyIndex\":0,\"ToAccountIndex\":3,\"Amount\":2000000,\"AssetIndex\":3,\"Fee\":3000000,\"Memo\":[238,123,250,212,202,237,62,98,106,248,169,199,213,3,76,213,137,238,73,144,0,0,0,0,0,0,0,0,0,0,0,0],\"ExpiredAt\":1761149674469,\"Nonce\":2,\"Sig\":\"crr/TWDu2CzHpkOtGaTIow70UcgsdfChqSYurrEoFO/K+f9nZHvpOzNVXtZQBf7JhhVyMK9dDbzgt3nUK7z9N/GdbH/NakIGHzVod+9ULhQ=\",\"L1Sig\":\"0x320bdc9a593130a7e25103a572458188dd4e2efdb18c5d862c7e54da10d780fe751b444a259195baa4b5a7e3dc600dfa2227ec077a09919f3f97a736475eea471c\"}","event_info":"{\"f\":283390,\"t\":3,\"u\":2000000,\"fee\":3000000,\"ae\":\"\"}","status":3,"transaction_index":16,"l1_address":"0xEe7BfAD4caEd3e626AF8a9C7d5034CD589EE4990","account_index":283390,"nonce":2,"expire_at":1761149674469,"block_height":70687079,"queued_at":1761149084285,"sequence_index":16778685698,"parent_hash":"","committed_at":0,"verified_at":0,"executed_at":1761149084292} |
6 | 6 | ` |
7 | 7 |
|
8 | | -const ExpectedLighterResponse = `{"code":200,"hash":"1e16eea4ad2ea1db483e7a0aeea2149fcafd96da3b9e7ecab5e95506f002182d1809858336e2af22","type":12,"info":"{\"FromAccountIndex\":283390,\"ApiKeyIndex\":0,\"ToAccountIndex\":3,\"USDCAmount\":2000000,\"Fee\":3000000,\"Memo\":[238,123,250,212,202,237,62,98,106,248,169,199,213,3,76,213,137,238,73,144,0,0,0,0,0,0,0,0,0,0,0,0],\"ExpiredAt\":1761149674469,\"Nonce\":2,\"Sig\":\"crr/TWDu2CzHpkOtGaTIow70UcgsdfChqSYurrEoFO/K+f9nZHvpOzNVXtZQBf7JhhVyMK9dDbzgt3nUK7z9N/GdbH/NakIGHzVod+9ULhQ=\",\"L1Sig\":\"0x320bdc9a593130a7e25103a572458188dd4e2efdb18c5d862c7e54da10d780fe751b444a259195baa4b5a7e3dc600dfa2227ec077a09919f3f97a736475eea471c\"}","event_info":"{\"f\":283390,\"t\":3,\"u\":2000000,\"fee\":3000000,\"ae\":\"\"}","status":3,"transaction_index":16,"l1_address":"0xEe7BfAD4caEd3e626AF8a9C7d5034CD589EE4990","account_index":283390,"nonce":2,"expire_at":1761149674469,"block_height":70687079,"queued_at":1761149084285,"sequence_index":16778685698,"parent_hash":"","committed_at":0,"verified_at":0,"executed_at":1761149084292}` |
| 8 | +const ExpectedLighterResponse = `{"code":200,"hash":"1e16eea4ad2ea1db483e7a0aeea2149fcafd96da3b9e7ecab5e95506f002182d1809858336e2af22","type":12,"info":"{\"FromAccountIndex\":283390,\"ApiKeyIndex\":0,\"ToAccountIndex\":3,\"Amount\":2000000,\"AssetIndex\":3,\"Fee\":3000000,\"Memo\":[238,123,250,212,202,237,62,98,106,248,169,199,213,3,76,213,137,238,73,144,0,0,0,0,0,0,0,0,0,0,0,0],\"ExpiredAt\":1761149674469,\"Nonce\":2,\"Sig\":\"crr/TWDu2CzHpkOtGaTIow70UcgsdfChqSYurrEoFO/K+f9nZHvpOzNVXtZQBf7JhhVyMK9dDbzgt3nUK7z9N/GdbH/NakIGHzVod+9ULhQ=\",\"L1Sig\":\"0x320bdc9a593130a7e25103a572458188dd4e2efdb18c5d862c7e54da10d780fe751b444a259195baa4b5a7e3dc600dfa2227ec077a09919f3f97a736475eea471c\"}","event_info":"{\"f\":283390,\"t\":3,\"u\":2000000,\"fee\":3000000,\"ae\":\"\"}","status":3,"transaction_index":16,"l1_address":"0xEe7BfAD4caEd3e626AF8a9C7d5034CD589EE4990","account_index":283390,"nonce":2,"expire_at":1761149674469,"block_height":70687079,"queued_at":1761149084285,"sequence_index":16778685698,"parent_hash":"","committed_at":0,"verified_at":0,"executed_at":1761149084292}` |
0 commit comments