Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ check-frozen-release-artifacts: ## Fail if the branch changes frozen release DAR

.PHONY: clean-codecs
clean-codecs: ## Remove auto-generated *CodecGen.daml files (regenerated by generate-daml-codecs).
@find contracts -path '*/daml/CCIP/*CodecGen.daml' -not -path '*/.daml/*' -delete 2>/dev/null || true
@find contracts \( -path '*/daml/CCIP/*CodecGen.daml' -o -path '*/daml/Link/*CodecGen.daml' \) -not -path '*/.daml/*' -delete 2>/dev/null || true

.PHONY: contracts
contracts: clean-codecs compile-contracts inspect-dars upgrade-check generate-bindings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ type LockOrBurn struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down Expand Up @@ -2473,7 +2473,7 @@ type VerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/bindings/generated/ccip/clientapi/clientapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ func (t *PerPartyRouterPrepareSend) UnmarshalHex(data string) error {
// TokenTransfer is a Record type
type TokenTransfer struct {
Token splice_api_token_holding_v1.InstrumentId `json:"token"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
}

// ToMap converts TokenTransfer to a map for DAML arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ type TokenPoolLockOrBurn struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down Expand Up @@ -1259,7 +1259,7 @@ type TokenPoolVerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ type LockOrBurn struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down Expand Up @@ -2470,7 +2470,7 @@ type VerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ type LockOrBurn struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down Expand Up @@ -2831,7 +2831,7 @@ type VerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ type LockOrBurn struct {
RmnRemoteCid types.CONTRACT_ID `json:"rmnRemoteCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
SenderInputCids []types.CONTRACT_ID `json:"senderInputCids"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down Expand Up @@ -2892,7 +2892,7 @@ type VerifyOutboundCCVs struct {
TokenAdminRegistryCid types.CONTRACT_ID `json:"tokenAdminRegistryCid"`
TokenConfigCid types.CONTRACT_ID `json:"tokenConfigCid"`
SendingMessageCid types.CONTRACT_ID `json:"sendingMessageCid"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
Context splice_api_token_metadata_v1.ChoiceContext `json:"context"`
Caller types.PARTY `json:"caller"`
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/bindings/generated/link/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ func (t LockedLinkHolding) ArchiveWithPackageID(contractID string, packageID str
// Send is a Record type
type Send struct {
Sender types.PARTY `json:"sender"`
Amount types.NUMERIC `json:"amount"`
Amount types.NUMERIC `json:"amount" hex:"decimal"`
InstrumentId splice_api_token_holding_v1.InstrumentId `json:"instrumentId"`
InputHoldingCids []types.CONTRACT_ID `json:"inputHoldingCids"`
Meta splice_api_token_metadata_v1.Metadata `json:"meta"`
Expand Down
Loading
Loading