Additional logs
This commit is contained in:
parent
78e605d928
commit
93175b4881
|
@ -209,6 +209,7 @@ proc asyncGetMintFeesTask(argEncoded: string) {.gcsafe, nimcall.} =
|
||||||
arg.walletAddresses, collectibleAndAmount.amount).result
|
arg.walletAddresses, collectibleAndAmount.amount).result
|
||||||
gasTable[(chainId, collectibleAndAmount.communityToken.address)] = estimations{"gasUnits"}.getInt
|
gasTable[(chainId, collectibleAndAmount.communityToken.address)] = estimations{"gasUnits"}.getInt
|
||||||
feeTable[chainId] = estimations{"suggestedFees"}.toSuggestedFeesDto()
|
feeTable[chainId] = estimations{"suggestedFees"}.toSuggestedFeesDto()
|
||||||
|
debug "asyncGetMintFeesTask", chainId=chainId, estimations=estimations
|
||||||
arg.finish(%* {
|
arg.finish(%* {
|
||||||
"feeTable": tableToJsonArray(feeTable),
|
"feeTable": tableToJsonArray(feeTable),
|
||||||
"gasTable": tableToJsonArray(gasTable),
|
"gasTable": tableToJsonArray(gasTable),
|
||||||
|
|
|
@ -838,6 +838,8 @@ QtObject:
|
||||||
if txData.source == parseAddress(ZERO_ADDRESS):
|
if txData.source == parseAddress(ZERO_ADDRESS):
|
||||||
return
|
return
|
||||||
debug "Airdrop tokens ", chainId=collectibleAndAmount.communityToken.chainId, address=collectibleAndAmount.communityToken.address, amount=collectibleAndAmount.amount
|
debug "Airdrop tokens ", chainId=collectibleAndAmount.communityToken.chainId, address=collectibleAndAmount.communityToken.address, amount=collectibleAndAmount.amount
|
||||||
|
debug "Airdrop tx data ", txData
|
||||||
|
debug "Airdrop addr len ", walletAddresses
|
||||||
let response = tokens_backend.mintTokens(collectibleAndAmount.communityToken.chainId, collectibleAndAmount.communityToken.address, %txData, common_utils.hashPassword(password), walletAddresses, collectibleAndAmount.amount)
|
let response = tokens_backend.mintTokens(collectibleAndAmount.communityToken.chainId, collectibleAndAmount.communityToken.address, %txData, common_utils.hashPassword(password), walletAddresses, collectibleAndAmount.amount)
|
||||||
let transactionHash = response.result.getStr()
|
let transactionHash = response.result.getStr()
|
||||||
debug "Airdrop transaction hash ", transactionHash=transactionHash
|
debug "Airdrop transaction hash ", transactionHash=transactionHash
|
||||||
|
|
Loading…
Reference in New Issue