You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: basics/account-data/solang/solidity/account-data.sol
+7-2
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,13 @@ contract account_data {
14
14
}
15
15
16
16
@payer(payer) // "payer" is the account that pays to create the dataAccount
17
-
@space(space) // "space" allocated to the account (maximum 10240 bytes, maximum space that can be reallocate when creating account in program via a CPI)
@space uint16space, // "space" allocated to the account (maximum 10240 bytes, maximum space that can be reallocate when creating account in program via a CPI)
19
+
string_name,
20
+
uint8_houseNumber,
21
+
string_street,
22
+
string_city
23
+
) {
19
24
// The AddressInfo instance is initialized with the data passed to the constructor
0 commit comments