Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add track addresses page into navigation #333

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fe58377
Add track addresses page into navigation
ninokeldishvili Mar 21, 2024
1e08b96
Fix token overview width problem
ninokeldishvili Mar 21, 2024
da7caaf
Addresses table with mock data
ninokeldishvili Mar 21, 2024
19b64a9
Add input, button and copy address functionality
ninokeldishvili Mar 21, 2024
a4fed12
Add remove button
ninokeldishvili Mar 21, 2024
bdccf44
Use wasm to convert addresses into binary
ninokeldishvili Mar 27, 2024
618b1b4
Update wasm for cbor encoded addresses
ninokeldishvili Mar 28, 2024
d05be43
Commit uncommeted wasm files
ninokeldishvili Apr 1, 2024
a08380f
Some refactors
ninokeldishvili Apr 1, 2024
e900892
Create address remove/add functions with constructed data to path to …
ninokeldishvili Apr 1, 2024
89b5e7f
Import rainmetadata contract abi and get contract from it
ninokeldishvili Apr 3, 2024
f1118c1
Import contract and define it
ninokeldishvili Apr 16, 2024
c00ffbe
Merge branch 'main' into 332-track-addresses
ninokeldishvili Sep 30, 2024
399c8d9
Get addresses from subgraph
ninokeldishvili Oct 16, 2024
24444bd
Set manager address and sg url as env variables
ninokeldishvili Oct 16, 2024
4345c2b
Filter unique addresses
ninokeldishvili Oct 16, 2024
dc99fab
Check address if already exists in data
ninokeldishvili Oct 16, 2024
af64638
Add transaction loader screen and some checks on add address
ninokeldishvili Oct 17, 2024
68ccc3e
Fix remove functionality
ninokeldishvili Oct 17, 2024
a1e535f
Filter by removed addresses
ninokeldishvili Oct 17, 2024
cd675f3
Remove todo
ninokeldishvili Oct 17, 2024
f3fcc15
Better solution of remove address logic
ninokeldishvili Oct 17, 2024
6b11786
Contract version change updates
ninokeldishvili Oct 18, 2024
fe04a1f
Check manager address to show/hide 'Track Addresses page'
ninokeldishvili Oct 25, 2024
f05f396
Fix ipfs login page test
ninokeldishvili Oct 25, 2024
1d5181a
Add wait to members test. set test network
ninokeldishvili Oct 25, 2024
d4d06c3
Remove check from navigation for manager
ninokeldishvili Oct 25, 2024
ea7931a
Ability to navigate to track-addresses weather sft is selected or not
ninokeldishvili Oct 25, 2024
d2229bc
Remove navigate to home when network changes
ninokeldishvili Oct 25, 2024
362af00
Add change network button to switch to arbitrum to add addresses
ninokeldishvili Oct 25, 2024
3243a2d
Add AUTHOR_ADDRESS magic number in payload
ninokeldishvili Oct 28, 2024
1d8afc1
Revert "Add AUTHOR_ADDRESS magic number in payload"
ninokeldishvili Oct 28, 2024
b55cf3b
Arbitrum one contract address
ninokeldishvili Oct 28, 2024
5750807
Add invalid meta filtered by magic number check.
ninokeldishvili Oct 28, 2024
24688c9
Update removeAddress function
ninokeldishvili Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cypress/e2e/home_page.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ describe('The Home Page', () => {
cy.url().should('include', '/#asset-register')
});
it('Navigates to ipfs', () => {
cy.get(`.path-ipfs`).click();
cy.url().should('include', '/#ipfs')
cy.get(`#token-name-Sepolia-test`).click();
cy.wait(1000)
cy.get(`.path-ipfs-login`).click();
cy.url().should('include', '/#ipfs-login')
});
it('Navigates to setup', () => {
cy.get(`.path-setup`).click();
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/members.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('Members page', () => {
it('Should check update tier buttons does not exits if no role', () => {
cy.get(`.path-list`).click();
cy.get(`#token-name-New-Project`).click();
cy.wait(1000)
cy.get(`.path-members`).click();
cy.get(`.update-tier-erc20`).should('not.exist')
cy.get(`.update-tier-erc1155`).should('not.exist')
Expand Down
Empty file added public/pkg/.gitignore
Empty file.
55 changes: 55 additions & 0 deletions public/pkg/encoding_addresses.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/* tslint:disable */
/* eslint-disable */
/**
* @param {Array<any>} addresses
* @returns {Uint8Array}
*/
export function concat_hex_addresses(addresses: Array<any>): Uint8Array;
/**
* @param {string} hex_val
* @returns {Uint8Array | undefined}
*/
export function hex_to_bytes(hex_val: string): Uint8Array | undefined;
/**
* @param {Uint8Array} address
* @returns {Promise<any>}
*/
export function cbor_encode_addresses(address: Uint8Array): Promise<any>;

export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

export interface InitOutput {
readonly memory: WebAssembly.Memory;
readonly concat_hex_addresses: (a: number, b: number) => void;
readonly hex_to_bytes: (a: number, b: number, c: number) => void;
readonly cbor_encode_addresses: (a: number, b: number) => number;
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcde5a7880f359960: (a: number, b: number, c: number) => void;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly wasm_bindgen__convert__closures__invoke2_mut__h0ee3583ded983582: (a: number, b: number, c: number, d: number) => void;
}

export type SyncInitInput = BufferSource | WebAssembly.Module;
/**
* Instantiates the given `module`, which can either be bytes or
* a precompiled `WebAssembly.Module`.
*
* @param {SyncInitInput} module
*
* @returns {InitOutput}
*/
export function initSync(module: SyncInitInput): InitOutput;

/**
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {InitInput | Promise<InitInput>} module_or_path
*
* @returns {Promise<InitOutput>}
*/
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
Loading
Loading