Skip to content

Commit

Permalink
Merge branch 'integrate-new-contracts-2024.08.13' into more-refund-te…
Browse files Browse the repository at this point in the history
…sts-2024.08.14
  • Loading branch information
iulianpascalau committed Aug 14, 2024
2 parents f4e685b + eb77621 commit c1a71a0
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions parsers/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,56 +51,3 @@ func (callData ProxySCCompleteCallData) String() string {
callData.RawCallData,
)
}

//
//import (
// "fmt"
// "math/big"
// "strings"
//
// "github.com/ethereum/go-ethereum/common"
// "github.com/multiversx/mx-chain-core-go/core/check"
// "github.com/multiversx/mx-sdk-go/core"
//)
//
//
//// String returns the human-readable string version of the call data
//func (callData CallData) String() string {
// arguments := "no arguments"
// if len(callData.Arguments) > 0 {
// arguments = "arguments: " + strings.Join(callData.Arguments, ", ")
// }
//
// return fmt.Sprintf("type: %d, function: %s, gas limit: %d, %s",
// callData.Type,
// callData.Function,
// callData.GasLimit,
// arguments)
//}
//

//
//// String returns the human-readable string version of the call data
//func (callData ProxySCCompleteCallData) String() string {
// toString := "<nil>"
// var err error
// if !check.IfNil(callData.To) {
// toString, err = callData.To.AddressAsBech32String()
// if err != nil {
// toString = "<err>"
// }
// }
// amountString := "<nil>"
// if callData.Amount != nil {
// amountString = callData.Amount.String()
// }
//
// return fmt.Sprintf("Eth address: %s, MvX address: %s, token: %s, amount: %s, nonce: %d, %s",
// callData.From.String(),
// toString,
// callData.Token,
// amountString,
// callData.Nonce,
// callData.CallData.String(),
// )
//}

0 comments on commit c1a71a0

Please sign in to comment.