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

Interesting project!. Some questions... #1

Open
danesposi opened this issue Jan 21, 2023 · 0 comments
Open

Interesting project!. Some questions... #1

danesposi opened this issue Jan 21, 2023 · 0 comments

Comments

@danesposi
Copy link

danesposi commented Jan 21, 2023

Hey Alongside team!.

According to the whitepaper located in your webpage and the code here available, an authorized role known as merchant is responsible for requesting index token mints:

function addMintRequest(
uint256 amount,
string memory txid,
string memory depositAddress
) external override onlyMerchant whenNotPaused returns (uint256) {

this request is then hashed and stored as a key to access its nonce, which is the last index of the mintRequest array, and then pushed to such array:

Request memory request = Request({
requester: msg.sender,
amount: amount,
depositAddress: depositAddress,
txid: txid,
nonce: nonce,
timestamp: timestamp,
status: RequestStatus.PENDING
});
bytes32 requestHash = calcRequestHash(request);
mintRequestNonce[requestHash] = nonce;
mintRequests.push(request);

Later on, another authorized role known as issuer is now responsible for canceling or confirming such request. If such request is confirmed, then the requested amount of index tokens are issued to the requesterer specified by the merchant.

I'm genuinely intrigued about how can we publicly verify that the corresponding underlying assets were deposited to the protocol (depositing 25 different assets doesn't sound like an easy task at all) and no false values are being reported?.

Kind regards.

Andro Team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant