Skip to content

Instantly share code, notes, and snippets.

@montycheese
Created October 31, 2023 19:49
Show Gist options
  • Select an option

  • Save montycheese/550cd53fd6e8791d147963ef958262cb to your computer and use it in GitHub Desktop.

Select an option

Save montycheese/550cd53fd6e8791d147963ef958262cb to your computer and use it in GitHub Desktop.
BFF Single Charm renderer
[
{
"inputs": [
{
"internalType": "address",
"name": "bffBraceletContract_",
"type": "address"
},
{
"internalType": "address",
"name": "bffPhase1Contract_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "uri",
"type": "string"
},
{
"indexed": false,
"internalType": "bool",
"name": "uriCharmStatus",
"type": "bool"
}
],
"name": "TokenURIUpdated",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "bffBraceletIds",
"type": "uint256[]"
}
],
"name": "addCharms",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "bffBraceletContract",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bffPhase1Contract",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bffPhase1TokenRedeemedStatus",
"outputs": [
{
"internalType": "contract BFFPhase1TokenRedeemed",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "charmStatus",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "bffBraceletId",
"type": "uint256"
}
],
"name": "checkCharmStatus",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "bffBraceletIds",
"type": "uint256[]"
}
],
"name": "removeCharms",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "bffBraceletId",
"type": "uint256"
}
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "uri",
"type": "string"
},
{
"internalType": "bool",
"name": "uriCharmStatus",
"type": "bool"
}
],
"name": "updateTokenURI",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"name": "uriCharm",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment