Update collection creation summary logic
This commit is contained in:
parent
8ceacb6725
commit
92ce752b15
@ -70,8 +70,8 @@ export const baseFactory = (client: SigningCosmWasmClient, txSigner: string): Ba
|
||||
)
|
||||
|
||||
return {
|
||||
baseMinterAddress: result.logs[0].events[5].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[5].attributes[2].value,
|
||||
baseMinterAddress: result.logs[0].events[16].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[18].attributes[0].value,
|
||||
transactionHash: result.transactionHash,
|
||||
logs: result.logs,
|
||||
}
|
||||
|
@ -61,8 +61,8 @@ export const openEditionFactory = (client: SigningCosmWasmClient, txSigner: stri
|
||||
const result = await client.execute(senderAddress, contractAddress, msg, 'auto', '', funds)
|
||||
|
||||
return {
|
||||
openEditionMinterAddress: result.logs[0].events[5].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[5].attributes[2].value,
|
||||
openEditionMinterAddress: result.logs[0].events[16].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[18].attributes[0].value,
|
||||
transactionHash: result.transactionHash,
|
||||
logs: result.logs,
|
||||
}
|
||||
|
@ -63,8 +63,8 @@ export const vendingFactory = (client: SigningCosmWasmClient, txSigner: string):
|
||||
const result = await client.execute(senderAddress, contractAddress, msg, 'auto', '', funds)
|
||||
|
||||
return {
|
||||
vendingMinterAddress: result.logs[0].events[5].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[5].attributes[2].value,
|
||||
vendingMinterAddress: result.logs[0].events[16].attributes[0].value,
|
||||
sg721Address: result.logs[0].events[18].attributes[0].value,
|
||||
transactionHash: result.transactionHash,
|
||||
logs: result.logs,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user