const config = {
commission: {
partner: '0xWALLET_ADDRESS', //wallet that you want collect fee
valueType: CommissionType.PERCENTAGE, //Type of fee, now support percentage and specific amount
value: (1 / 100) * 1e6, // Fee collect, in this case 1%
strategy: 'TOKEN', // Collect fee by specific token, current support 'INPUT' | 'OUTPUT' | 'TOKEN'
listCoins: [
'0x2::sui::SUI',
'0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN', //If you chose TOKEN you must specific list tokens want to collect fee
],
directTransfer: true, //We have 2 strategy transfer, direct to your address, store in the contract and collect later
}
}
const config = {
customList: ["0x6dae8ca14311574fdfe555524ea48558e3d1360d1607d1c7f98af867e3b7976c::flx::FLX", "0x2::sui::SUI", "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN"] // In this case, only SUI, FLX, USDC show on the token selection
}
Explorer customize
Currently we support SuiVision and SuiScan for Explorer