@thirdweb-dev/contracts-js
Version:
89 lines • 1.76 kB
JSON
[
{
"type": "function",
"name": "getPlatformFeeInfo",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setPlatformFeeInfo",
"inputs": [
{
"name": "_platformFeeRecipient",
"type": "address",
"internalType": "address"
},
{
"name": "_platformFeeBps",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "FlatPlatformFeeUpdated",
"inputs": [
{
"name": "platformFeeRecipient",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "flatFee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformFeeInfoUpdated",
"inputs": [
{
"name": "platformFeeRecipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "platformFeeBps",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformFeeTypeUpdated",
"inputs": [
{
"name": "feeType",
"type": "uint8",
"indexed": false,
"internalType": "enum IPlatformFee.PlatformFeeType"
}
],
"anonymous": false
}
]