Movement

Supply an asset

Curated by

Synonym Finance

ID Type

EVM ADDRESS

Cred Type

SUBGRAPH

Last Update Time

01/24/2024, 18:19:38

Query

query info($address: String!) {
  vault(id: $address) {
    history {
      action
      asset {
      originWormholeChainId
        originAssetAddress
        id
      }
    }
  }
}

Expression

function(data) {
  if(data.vault.history.some((history) => history.action === "deposit")) {
    return 1;
  } 
    
    return 0;
}